| Summary: | [Monterey] LayoutTest media/element-containing-pip-video-going-into-fullscreen.html is flaky timeout/crash | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Peng Liu <peng.liu6> | ||||||
| Component: | Media | Assignee: | Peng Liu <peng.liu6> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | calvaris, cdumez, changseok, eric.carlson, esprehn+autocc, ews-watchlist, glenn, gyuyoung.kim, jer.noble, philipj, sergio, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | Other | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | macOS 11 | ||||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=162710 | ||||||||
| Attachments: |
|
||||||||
|
Description
Peng Liu
2021-08-24 10:27:18 PDT
Created attachment 436306 [details]
Patch
Comment on attachment 436306 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=436306&action=review > Source/WebKit/ChangeLog:16 > + This change fixes an assertion failure in `enterVideoFullscreenForVideoElement()`. This requires the reader to look at the code before and after the change. Instead I think it would be better to say something like "Return immediately if the element is not in fullscreen to avoid an assertion later in `enterVideoFullscreenForVideoElement`". Created attachment 436312 [details]
Revise the patch based on Eric's comment
Comment on attachment 436306 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=436306&action=review >> Source/WebKit/ChangeLog:16 >> + This change fixes an assertion failure in `enterVideoFullscreenForVideoElement()`. > > This requires the reader to look at the code before and after the change. Instead I think it would be better to say something like "Return immediately if the element is not in fullscreen to avoid an assertion later in `enterVideoFullscreenForVideoElement`". Agree! Fixed. The layout test failure on mac-debug-wk1 bot is not relevant to this patch. Committed r281557 (240924@main): <https://commits.webkit.org/240924@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 436312 [details]. Comment on attachment 436312 [details] Revise the patch based on Eric's comment View in context: https://bugs.webkit.org/attachment.cgi?id=436312&action=review > LayoutTests/platform/mac-wk2/TestExpectations:691 > +[ Catalina BigSur Monterey ] media/element-containing-pip-video-going-into-fullscreen.html [ Pass ] "Catalina BigSur Monterey" is all of them, so we don't need the OS version qualifiers. In fact, they are harmful, as they result in the test being skipped on all future versions. |