Summary: | Remove unused JS and CSS files of media controls | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Peng Liu <peng.liu6> | ||||||||||||||||||||
Component: | Media | Assignee: | Devin Rousso <hi> | ||||||||||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||||||||||
Severity: | Normal | CC: | aakash_jain, aboxhall, apinheiro, benjamin, calvaris, cdumez, cfleizach, changseok, cmarcelo, darin, dmazzoni, eric.carlson, esprehn+autocc, ews-watchlist, glenn, graouts, graouts, gyuyoung.kim, hi, hta, jcraig, jdiggs, jenner, jer.noble, joepeck, kondapallykalyan, macpherson, menard, mkwst, pdr, peng.liu6, philipj, samuel_white, sergio, simon.fraser, tommyw, webkit-bug-importer, youennf | ||||||||||||||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||||||||||||||
Version: | WebKit Nightly Build | ||||||||||||||||||||||
Hardware: | Unspecified | ||||||||||||||||||||||
OS: | Unspecified | ||||||||||||||||||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=182502 | ||||||||||||||||||||||
Attachments: |
|
Description
Peng Liu
2020-07-29 18:28:33 PDT
Created attachment 405538 [details]
Patch
Created attachment 405539 [details]
Patch
Comment on attachment 405539 [details]
Patch
Patch looks good. Looks like something is still using the files from the EWS failure.
Probably just need updated expectation...don't look too closely I didn't look closely is what I meant ^^^ Created attachment 423550 [details]
[Patch] WIP
Created attachment 423552 [details]
[Patch] WIP
rebase
No ChangeLog yet. Should not set review? if not ready to review. The webkit-patch tool can trigger EWS without setting review?. Created attachment 423563 [details]
[Patch] WIP
rebase (again)
also
- combine the `RenderThemeMac` and `RenderThemeIOS` media controls functions into `RenderThemeCocoa` since they're now the same
- fix the CSP issue by making sure that the `<img>` created by `iconService` is attached to the UA `shadowRoot` for `isInUserAgentShadowTree` before setting the `src`
- fix the DerivedSources makefile to use all prerequisites for the modern media controls JS/CSS, not just ones edited since the last `make`
Created attachment 423649 [details]
Patch
Created attachment 423740 [details]
Patch
Comment on attachment 423740 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=423740&action=review > LayoutTests/ChangeLog:9 > + Remove tests (and their expectations) that used `ModernMediaControlsEnabled`. do you mean `ModernMediaControlsEnabled=false`? Comment on attachment 423740 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=423740&action=review >> LayoutTests/ChangeLog:9 >> + Remove tests (and their expectations) that used `ModernMediaControlsEnabled`. > > do you mean `ModernMediaControlsEnabled=false`? Yes, but there was only one test that had `ModernMediaControlsEnabled=true` :P I'll be more explicit/clear. Comment on attachment 423740 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=423740&action=review > Source/WebKit/ChangeLog:13 > + Replace `ModernMediaControlsEnabled` setting with `ENABLE_MODERN_MEDIA_CONTROLS` build flag. Nit. I guess you mean `MODERN_MEDIA_CONTROLS` flag here but there is the macro `ENABLE_MODERN_MEDIA_CONTROLS` in this patch. :-) Created attachment 423768 [details]
Patch
Created attachment 423904 [details]
Patch
Committed r274810: <https://commits.webkit.org/r274810> All reviewed patches have been landed. Closing bug and clearing flags on attachment 423904 [details]. (In reply to EWS from comment #19) > Committed r274810: <https://commits.webkit.org/r274810> This caused fast/parser/xml-colon-entity.html to start failing. EWS indicated this issue on previous version of patch on this bug in https://ews-build.webkit.org/#/builders/51/builds/9405 History: https://results.webkit.org/?suite=layout-tests&test=fast%2Fparser%2Fxml-colon-entity.html Re-added the test expectations to Failure for "fast/parser/xml-colon-entity.html" that was removed with a patch from this bug. Test expectation re-added here: https://trac.webkit.org/changeset/274951/webkit |