| Summary: | REGRESSION (r262456?): [macOS] media/picture-in-picture/picture-in-picture-api tests are flaky timeouts | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Ryan Haddad <ryanhaddad> | ||||||||||
| Component: | Media | Assignee: | Peng Liu <peng.liu6> | ||||||||||
| Status: | RESOLVED FIXED | ||||||||||||
| Severity: | Normal | CC: | cdumez, changseok, darin, eric.carlson, esprehn+autocc, ews-watchlist, glenn, gyuyoung.kim, jer.noble, peng.liu6, philipj, sergio, webkit-bot-watchers-bugzilla, webkit-bug-importer | ||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||
| Version: | WebKit Nightly Build | ||||||||||||
| Hardware: | Unspecified | ||||||||||||
| OS: | Unspecified | ||||||||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=202425 | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Ryan Haddad
2020-06-04 10:51:17 PDT
This started shortly after the following change landed: Stressing webkitSetPresentationMode leads to wrong inline video dimensions https://bugs.webkit.org/show_bug.cgi?id=202425 Same with media/picture-in-picture/picture-in-picture-api-pip-window.html https://results.webkit.org/?suite=layout-tests&test=media%2Fpicture-in-picture%2Fpicture-in-picture-api-pip-window.html Created attachment 401077 [details]
Patch
Comment on attachment 401077 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=401077&action=review > Source/WebKit/ChangeLog:10 > + The Picture-in-Picture implementation expects the two callbacks HTMLVideoElement::didBecomeFullscreenElement() > + and HTMLVideoElement::setVideoFullscreenFrame() to come in order. So we need to remove the dispatch_async() to > + call HTMLVideoElement::didBecomeFullscreenElement(). That’s the benefit of removing the dispatch_async. But why is it safe to remove dispatch_async? Comment on attachment 401077 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=401077&action=review >> Source/WebKit/ChangeLog:10 >> + call HTMLVideoElement::didBecomeFullscreenElement(). > > That’s the benefit of removing the dispatch_async. > > But why is it safe to remove dispatch_async? The dispatch_async() was added in r229714 because of some issue on Watch, and I have discussed it with Eric. Removing it seems fine for now. Created attachment 401090 [details]
Revise the patch to fix test failures
Created attachment 401129 [details]
Fix the API test failure
Created attachment 401165 [details]
Rebase the patch
Committed r262634: <https://trac.webkit.org/changeset/262634> All reviewed patches have been landed. Closing bug and clearing flags on attachment 401165 [details]. |