RESOLVED FIXED 194621
[Mac] PiP window can get "stuck" if PiP is closed while Safari window is minimized.
https://bugs.webkit.org/show_bug.cgi?id=194621
Summary [Mac] PiP window can get "stuck" if PiP is closed while Safari window is mini...
Jer Noble
Reported 2019-02-13 15:51:59 PST
[Mac] PiP window can get "stuck" if PiP is closed while Safari window is minimized.
Attachments
Patch (1.80 KB, patch)
2019-02-13 15:55 PST, Jer Noble
no flags
Jer Noble
Comment 1 2019-02-13 15:53:35 PST
Jer Noble
Comment 2 2019-02-13 15:55:43 PST
WebKit Commit Bot
Comment 3 2019-02-13 18:28:53 PST
Comment on attachment 361951 [details] Patch Clearing flags on attachment: 361951 Committed r241492: <https://trac.webkit.org/changeset/241492>
WebKit Commit Bot
Comment 4 2019-02-13 18:28:55 PST
All reviewed patches have been landed. Closing bug.
Jon Lee
Comment 5 2019-02-13 18:36:12 PST
Comment on attachment 361951 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=361951&action=review > Source/WebCore/Modules/modern-media-controls/media/media-controller.js:287 > + this.host.setPreparedToReturnVideoLayerToInline(this.media.webkitPresentationMode !== PiPMode); @Antoine, why was rAF used in the first place? @Jer, are there other instances where rAF is being used for similar purposes that should be reconsidered?
Antoine Quint
Comment 6 2019-02-14 06:26:49 PST
(In reply to Jon Lee from comment #5) > Comment on attachment 361951 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=361951&action=review > > > Source/WebCore/Modules/modern-media-controls/media/media-controller.js:287 > > + this.host.setPreparedToReturnVideoLayerToInline(this.media.webkitPresentationMode !== PiPMode); > > @Antoine, why was rAF used in the first place? I don't know for sure, but I would wager this was to do with flakiness.
Note You need to log in before you can comment on or make changes to this bug.