RESOLVED FIXED165183
[Modern Media Controls] Controls are not visible when returning from picture-in-picture playback
https://bugs.webkit.org/show_bug.cgi?id=165183
Summary [Modern Media Controls] Controls are not visible when returning from picture-...
Antoine Quint
Reported 2016-11-29 17:55:02 PST
[Modern Media Controls] Controls are not visible when returning from picture-in-picture playback
Attachments
Patch (3.09 KB, patch)
2016-11-29 17:58 PST, Antoine Quint
no flags
Patch for landing (4.15 KB, patch)
2016-11-30 14:15 PST, Antoine Quint
no flags
Antoine Quint
Comment 1 2016-11-29 17:58:01 PST
Dean Jackson
Comment 2 2016-11-29 18:01:45 PST
Comment on attachment 295687 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=295687&action=review > Source/WebCore/Modules/modern-media-controls/media/media-controller.js:122 > + const host = this.host; > + const media = this.media; No need for these variables.
Dean Jackson
Comment 3 2016-11-29 18:01:56 PST
Comment on attachment 295687 [details] Patch Where is the test?
Dean Jackson
Comment 4 2016-11-29 18:03:02 PST
Sam will be very angry that there isn't a test.
Antoine Quint
Comment 5 2016-11-29 18:06:18 PST
(In reply to comment #2) > Comment on attachment 295687 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=295687&action=review > > > Source/WebCore/Modules/modern-media-controls/media/media-controller.js:122 > > + const host = this.host; > > + const media = this.media; > > No need for these variables. Nice, didn't know fat-arrow functions correctly scoped `this`.
Antoine Quint
Comment 6 2016-11-29 18:06:50 PST
(In reply to comment #4) > Sam will be very angry that there isn't a test. I'm open to suggestions as to how to test this. A pixel test?
Antoine Quint
Comment 7 2016-11-30 14:15:06 PST
Created attachment 295766 [details] Patch for landing
Radar WebKit Bug Importer
Comment 8 2016-11-30 14:15:23 PST
WebKit Commit Bot
Comment 9 2016-11-30 14:45:58 PST
Comment on attachment 295766 [details] Patch for landing Clearing flags on attachment: 295766 Committed r209156: <http://trac.webkit.org/changeset/209156>
WebKit Commit Bot
Comment 10 2016-11-30 14:46:02 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.