RESOLVED FIXED 137472
[Media] Expose AudioTracks in the "captions" menu.
https://bugs.webkit.org/show_bug.cgi?id=137472
Summary [Media] Expose AudioTracks in the "captions" menu.
Jer Noble
Reported 2014-10-06 17:28:24 PDT
[Media] Expose AudioTracks in the "captions" menu.
Attachments
Patch (3.78 MB, patch)
2014-10-06 17:36 PDT, Jer Noble
no flags
Patch (3.79 MB, patch)
2014-10-06 17:58 PDT, Jer Noble
buildbot: commit-queue-
Archive of layout-test-results from webkit-ews-09 for mac-mountainlion-wk2 (1.42 MB, application/zip)
2014-10-06 19:11 PDT, Build Bot
no flags
Archive of layout-test-results from webkit-ews-04 for mac-mountainlion (967.64 KB, application/zip)
2014-10-06 19:35 PDT, Build Bot
no flags
Patch (3.79 MB, patch)
2014-10-06 20:37 PDT, Jer Noble
no flags
Jer Noble
Comment 1 2014-10-06 17:36:27 PDT
Jer Noble
Comment 2 2014-10-06 17:58:53 PDT
Build Bot
Comment 3 2014-10-06 19:11:23 PDT
Comment on attachment 239373 [details] Patch Attachment 239373 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/5349634390097920 New failing tests: media/video-controls-rendering.html media/controls-strict.html media/video-volume-slider.html media/video-display-toggle.html media/audio-controls-rendering.html editing/unsupported-content/list-delete-003.html editing/unsupported-content/table-type-before.html editing/unsupported-content/list-delete-001.html editing/unsupported-content/list-type-after.html accessibility/media-element.html media/controls-without-preload.html editing/unsupported-content/table-delete-002.html editing/unsupported-content/list-type-before.html editing/unsupported-content/table-type-after.html
Build Bot
Comment 4 2014-10-06 19:11:25 PDT
Created attachment 239377 [details] Archive of layout-test-results from webkit-ews-09 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-09 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
Build Bot
Comment 5 2014-10-06 19:35:50 PDT
Comment on attachment 239373 [details] Patch Attachment 239373 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/6299740211773440 New failing tests: media/controls-strict.html media/video-volume-slider.html media/video-display-toggle.html media/audio-controls-rendering.html media/video-controls-rendering.html accessibility/media-element.html media/controls-without-preload.html media/controls-after-reload.html
Build Bot
Comment 6 2014-10-06 19:35:52 PDT
Created attachment 239378 [details] Archive of layout-test-results from webkit-ews-04 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: webkit-ews-04 Port: mac-mountainlion Platform: Mac OS X 10.8.5
Jer Noble
Comment 7 2014-10-06 20:37:08 PDT
Brent Fulgham
Comment 8 2014-10-07 10:25:26 PDT
Comment on attachment 239380 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=239380&action=review I'm worried that we need to flesh out the AudioTrack stuff on Windows; there isn't any such thing as an AudioTrackPrivateAVCF/VideoTrackPrivateAVCF. Otherwise, this looks great! Let's get it landed and if anything breaks on Windows I'll clean it up during my ongoing media work. > Source/WebCore/html/track/AudioTrack.cpp:-150 > - setEnabled(enabled); Just Curious: Why don't we want to recurse into the private 'setEnabled' here? What problem does that fix? > Source/WebCore/page/CaptionUserPreferences.cpp:228 > + }); Oooh! A lambda! :-)
Jer Noble
Comment 9 2014-10-07 10:37:29 PDT
(In reply to comment #8) > (From update of attachment 239380 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=239380&action=review > > I'm worried that we need to flesh out the AudioTrack stuff on Windows; there isn't any such thing as an AudioTrackPrivateAVCF/VideoTrackPrivateAVCF. Otherwise, this looks great! Let's get it landed and if anything breaks on Windows I'll clean it up during my ongoing media work. Thanks! > > Source/WebCore/html/track/AudioTrack.cpp:-150 > > - setEnabled(enabled); > > Just Curious: Why don't we want to recurse into the private 'setEnabled' here? What problem does that fix? Previously, calling AudioTrack::setEnabled() calls AudioTrackPrivate::setEnabled() which calls AudioTrack::enabledChanged() which calls AudioTrackPrivate::setEnabled() which ... The chain only breaks when the AudioTrackPrivate notices that the enabled param == the stored value of enabled. What if some future AudioTrackPrivate doesn't cache the value of enabled? Or doesn't check? > > Source/WebCore/page/CaptionUserPreferences.cpp:228 > > + }); > > Oooh! A lambda! :-)
WebKit Commit Bot
Comment 10 2014-10-07 12:15:36 PDT
Comment on attachment 239380 [details] Patch Clearing flags on attachment: 239380 Committed r174402: <http://trac.webkit.org/changeset/174402>
WebKit Commit Bot
Comment 11 2014-10-07 12:15:42 PDT
All reviewed patches have been landed. Closing bug.
Alexey Proskuryakov
Comment 13 2014-10-08 10:07:14 PDT
https://webkit-test-results.appspot.com/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=media%2Ftrack%2Ftrack-forced-subtitles-in-band.html -EXPECTED (trackMenuItems.length == '6') OK +EXPECTED (trackMenuItems.length == '6'), OBSERVED '3' FAIL
Jer Noble
Comment 14 2014-10-08 10:20:34 PDT
Jon Lee
Comment 15 2014-10-16 14:50:41 PDT
Note You need to log in before you can comment on or make changes to this bug.