| Summary: | [MediaControls][iOS] Enable JavaScript Media Controls on iOS. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Jer Noble <jer.noble> | ||||
| Component: | New Bugs | Assignee: | Jer Noble <jer.noble> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | commit-queue, eric.carlson, esprehn+autocc, glenn, gyuyoung.kim, kondapallykalyan | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Jer Noble
2014-01-03 10:39:39 PST
Created attachment 220321 [details]
Patch
Comment on attachment 220321 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=220321&action=review > Source/WebCore/DerivedSources.make:850 > +ifeq ($(WTF_PLATFORM_IOS),1) Nit: there should be a space after the comma. > Source/WebCore/DerivedSources.make:870 > +ifeq ($(WTF_PLATFORM_IOS),1) Ditto. > Source/WebCore/Modules/mediacontrols/mediaControlsiOS.css:185 > + /* rotateZ() forces the layer into compositing mode. > + Slider thumbs are small, so forcing a compositing layer is inexpensive, > + and it keeps the slider from having to repaint while sliding. */ Nit: good comment, but strange indentation. Committed r161280: <http://trac.webkit.org/changeset/161280> Comment on attachment 220321 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=220321&action=review > Source/WebCore/rendering/RenderThemeIOS.mm:1205 > String RenderThemeIOS::mediaControlsScript() Can we refactor this to use JSScriptCreateReferencingImmortalASCIIText, or at least JSScriptCreateFromString? (In reply to comment #4) > (From update of attachment 220321 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=220321&action=review > > > Source/WebCore/rendering/RenderThemeIOS.mm:1205 > > String RenderThemeIOS::mediaControlsScript() > > Can we refactor this to use JSScriptCreateReferencingImmortalASCIIText, or at least JSScriptCreateFromString? Absolutely. We could do the same for the Mac version as well. |