| Summary: | Add a quirk to disable "return to element fullscreen from picture-in-picture" for some sites | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Peng Liu <peng.liu6> | ||||||||||||
| Component: | Media | Assignee: | Peng Liu <peng.liu6> | ||||||||||||
| Status: | RESOLVED FIXED | ||||||||||||||
| Severity: | Normal | CC: | eric.carlson, ews-watchlist, glenn, jer.noble, philipj, sergio, 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=225322 | ||||||||||||||
| Attachments: |
|
||||||||||||||
|
Description
Peng Liu
2021-01-13 15:21:36 PST
Created attachment 417572 [details]
Patch
Created attachment 417575 [details]
Rebase the patch
Created attachment 417591 [details]
Fix build failures
Created attachment 417595 [details]
Patch
Comment on attachment 417595 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=417595&action=review > Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm:893 > + if (!_blocksReturnToFullscreenFromPictureInPicture) > + _shouldReturnToFullscreenFromPictureInPicture = YES; This could be simplified to `_shouldReturnToFullscreenFromPictureInPicture = !_blocksReturnToFullscreenFromPictureInPicture` Comment on attachment 417595 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=417595&action=review >> Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm:893 >> + _shouldReturnToFullscreenFromPictureInPicture = YES; > > This could be simplified to `_shouldReturnToFullscreenFromPictureInPicture = !_blocksReturnToFullscreenFromPictureInPicture` Right! Created attachment 417652 [details]
Revise the patch based on Eric's comment
Committed r271503: <https://trac.webkit.org/changeset/271503> All reviewed patches have been landed. Closing bug and clearing flags on attachment 417652 [details]. |