RESOLVED FIXED164271
[Modern Media Controls] load all media controller scripts and styles automatically
https://bugs.webkit.org/show_bug.cgi?id=164271
Summary [Modern Media Controls] load all media controller scripts and styles automati...
Antoine Quint
Reported 2016-11-01 07:11:56 PDT
[Modern Media Controls] load all media controller scripts and styles automatically
Attachments
Patch (154.77 KB, patch)
2016-11-01 07:13 PDT, Antoine Quint
no flags
Antoine Quint
Comment 1 2016-11-01 07:13:38 PDT
Dean Jackson
Comment 2 2016-11-01 11:04:28 PDT
Comment on attachment 293551 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=293551&action=review > LayoutTests/media/modern-media-controls/resources/media-controls-loader.js:11 > + request.open("GET", `${modulePath}/js-files`, false); Does this file exist yet?
Joseph Pecoraro
Comment 3 2016-11-01 11:16:35 PDT
Comment on attachment 293551 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=293551&action=review >> LayoutTests/media/modern-media-controls/resources/media-controls-loader.js:11 >> + request.open("GET", `${modulePath}/js-files`, false); > > Does this file exist yet? It looks like it does! > LayoutTests/media/modern-media-controls/resources/media-controls-loader.js:15 > + document.write(`<script type="text/javascript" src="${modulePath}/${jsFile}"></script>`); Nit: All of the `type="text/javascript"` attributes are unnecessary and could be removed. But at least you are consistent and use them everywhere.
WebKit Commit Bot
Comment 4 2016-11-01 11:28:13 PDT
Comment on attachment 293551 [details] Patch Clearing flags on attachment: 293551 Committed r208226: <http://trac.webkit.org/changeset/208226>
WebKit Commit Bot
Comment 5 2016-11-01 11:28:17 PDT
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.