RESOLVED FIXED145228
[Mac] Audio tracks tagged as 'describes-video' are not automatically selected when that system accessibility option is set.
https://bugs.webkit.org/show_bug.cgi?id=145228
Summary [Mac] Audio tracks tagged as 'describes-video' are not automatically selected...
Jer Noble
Reported 2015-05-20 16:02:20 PDT
[Mac] Audio tracks tagged as 'describes-video' are not automatically selected when that system accessibility option is set.
Attachments
Patch (73.95 KB, patch)
2015-05-20 16:15 PDT, Jer Noble
no flags
Archive of layout-test-results from ews100 for mac-mavericks (1.03 MB, application/zip)
2015-05-20 16:41 PDT, Build Bot
no flags
Archive of layout-test-results from ews106 for mac-mavericks-wk2 (1.09 MB, application/zip)
2015-05-20 16:52 PDT, Build Bot
no flags
Patch (76.23 KB, patch)
2015-05-20 21:42 PDT, Jer Noble
no flags
Archive of layout-test-results from ews103 for mac-mavericks (531.81 KB, application/zip)
2015-05-20 22:20 PDT, Build Bot
no flags
Archive of layout-test-results from ews105 for mac-mavericks-wk2 (585.44 KB, application/zip)
2015-05-20 22:23 PDT, Build Bot
no flags
Patch (80.92 KB, patch)
2015-05-20 23:04 PDT, Jer Noble
no flags
Patch (40.45 KB, patch)
2015-05-21 11:02 PDT, Jer Noble
no flags
Patch (81.15 KB, patch)
2015-05-21 12:20 PDT, Jer Noble
no flags
Archive of layout-test-results from ews102 for mac-mavericks (525.35 KB, application/zip)
2015-05-21 12:56 PDT, Build Bot
no flags
Archive of layout-test-results from ews105 for mac-mavericks-wk2 (574.06 KB, application/zip)
2015-05-21 12:59 PDT, Build Bot
no flags
Patch (992.20 KB, patch)
2015-05-21 17:49 PDT, Jer Noble
no flags
Archive of layout-test-results from ews103 for mac-mavericks (537.92 KB, application/zip)
2015-05-21 18:25 PDT, Build Bot
no flags
Archive of layout-test-results from ews104 for mac-mavericks-wk2 (657.55 KB, application/zip)
2015-05-21 18:39 PDT, Build Bot
no flags
Patch (992.90 KB, patch)
2015-05-22 09:25 PDT, Jer Noble
eric.carlson: review+
Patch (992.96 KB, patch)
2015-05-22 13:08 PDT, Jer Noble
no flags
Jer Noble
Comment 1 2015-05-20 16:15:02 PDT
Build Bot
Comment 2 2015-05-20 16:41:25 PDT
Comment on attachment 253472 [details] Patch Attachment 253472 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/4800623719481344 Number of test failures exceeded the failure limit.
Build Bot
Comment 3 2015-05-20 16:41:27 PDT
Created attachment 253475 [details] Archive of layout-test-results from ews100 for mac-mavericks The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews100 Port: mac-mavericks Platform: Mac OS X 10.9.5
Build Bot
Comment 4 2015-05-20 16:52:10 PDT
Comment on attachment 253472 [details] Patch Attachment 253472 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/5548548250664960 Number of test failures exceeded the failure limit.
Build Bot
Comment 5 2015-05-20 16:52:12 PDT
Created attachment 253477 [details] Archive of layout-test-results from ews106 for mac-mavericks-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews106 Port: mac-mavericks-wk2 Platform: Mac OS X 10.9.5
Jer Noble
Comment 6 2015-05-20 21:42:59 PDT
Build Bot
Comment 7 2015-05-20 22:20:18 PDT
Comment on attachment 253501 [details] Patch Attachment 253501 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/5934523674001408 New failing tests: media/accessiblity-describes-video.html
Build Bot
Comment 8 2015-05-20 22:20:21 PDT
Created attachment 253503 [details] Archive of layout-test-results from ews103 for mac-mavericks The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews103 Port: mac-mavericks Platform: Mac OS X 10.9.5
Build Bot
Comment 9 2015-05-20 22:23:36 PDT
Comment on attachment 253501 [details] Patch Attachment 253501 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/5655257786875904 New failing tests: media/accessiblity-describes-video.html
Build Bot
Comment 10 2015-05-20 22:23:39 PDT
Created attachment 253504 [details] Archive of layout-test-results from ews105 for mac-mavericks-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews105 Port: mac-mavericks-wk2 Platform: Mac OS X 10.9.5
Jer Noble
Comment 11 2015-05-20 23:04:05 PDT
Created attachment 253506 [details] Patch Fixes for iOS, Win, and OS X Mavericks.
WebKit Commit Bot
Comment 12 2015-05-20 23:05:59 PDT
Attachment 253506 [details] did not pass style-queue: ERROR: Source/WebCore/platform/mac/SoftLinking.h:453: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebCore/platform/mac/SoftLinking.h:466: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebCore/platform/mac/SoftLinking.h:471: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebCore/platform/win/SoftLinking.h:297: Extra space before ( in function call [whitespace/parens] [4] Total errors found: 4 in 28 files If any of these errors are false positives, please file a bug against check-webkit-style.
Jer Noble
Comment 13 2015-05-21 11:02:10 PDT
WebKit Commit Bot
Comment 14 2015-05-21 11:03:42 PDT
Attachment 253534 [details] did not pass style-queue: ERROR: Source/WebCore/platform/mac/SoftLinking.h:453: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebCore/platform/mac/SoftLinking.h:464: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebCore/platform/mac/SoftLinking.h:469: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebCore/platform/win/SoftLinking.h:287: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebCore/platform/win/SoftLinking.h:298: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebCore/platform/win/SoftLinking.h:303: Extra space before ( in function call [whitespace/parens] [4] Total errors found: 6 in 21 files If any of these errors are false positives, please file a bug against check-webkit-style.
Jer Noble
Comment 15 2015-05-21 12:20:08 PDT
WebKit Commit Bot
Comment 16 2015-05-21 12:21:32 PDT
Attachment 253537 [details] did not pass style-queue: ERROR: Source/WebCore/platform/mac/SoftLinking.h:453: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebCore/platform/mac/SoftLinking.h:464: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebCore/platform/mac/SoftLinking.h:469: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebCore/platform/win/SoftLinking.h:287: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebCore/platform/win/SoftLinking.h:298: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebCore/platform/win/SoftLinking.h:303: Extra space before ( in function call [whitespace/parens] [4] Total errors found: 6 in 28 files If any of these errors are false positives, please file a bug against check-webkit-style.
Build Bot
Comment 17 2015-05-21 12:56:23 PDT
Comment on attachment 253537 [details] Patch Attachment 253537 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/6116733769220096 New failing tests: media/accessiblity-describes-video.html
Build Bot
Comment 18 2015-05-21 12:56:26 PDT
Created attachment 253538 [details] Archive of layout-test-results from ews102 for mac-mavericks The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews102 Port: mac-mavericks Platform: Mac OS X 10.9.5
Build Bot
Comment 19 2015-05-21 12:59:29 PDT
Comment on attachment 253537 [details] Patch Attachment 253537 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/6557673365438464 New failing tests: media/accessiblity-describes-video.html
Build Bot
Comment 20 2015-05-21 12:59:31 PDT
Created attachment 253539 [details] Archive of layout-test-results from ews105 for mac-mavericks-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews105 Port: mac-mavericks-wk2 Platform: Mac OS X 10.9.5
Jer Noble
Comment 21 2015-05-21 17:49:38 PDT
Created attachment 253563 [details] Patch Tests were failing because I forgot to include the new test media file in the patch. Things should pass the EWS now.
WebKit Commit Bot
Comment 22 2015-05-21 17:52:56 PDT
Attachment 253563 [details] did not pass style-queue: ERROR: Source/WebCore/platform/mac/SoftLinking.h:453: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebCore/platform/mac/SoftLinking.h:464: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebCore/platform/mac/SoftLinking.h:469: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebCore/platform/win/SoftLinking.h:287: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebCore/platform/win/SoftLinking.h:298: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebCore/platform/win/SoftLinking.h:303: Extra space before ( in function call [whitespace/parens] [4] Total errors found: 6 in 28 files If any of these errors are false positives, please file a bug against check-webkit-style.
Build Bot
Comment 23 2015-05-21 18:25:26 PDT
Comment on attachment 253563 [details] Patch Attachment 253563 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/5362614821453824 New failing tests: media/accessiblity-describes-video.html
Build Bot
Comment 24 2015-05-21 18:25:29 PDT
Created attachment 253569 [details] Archive of layout-test-results from ews103 for mac-mavericks The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews103 Port: mac-mavericks Platform: Mac OS X 10.9.5
Build Bot
Comment 25 2015-05-21 18:39:19 PDT
Comment on attachment 253563 [details] Patch Attachment 253563 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/4608644050059264 New failing tests: media/accessiblity-describes-video.html
Build Bot
Comment 26 2015-05-21 18:39:23 PDT
Created attachment 253571 [details] Archive of layout-test-results from ews104 for mac-mavericks-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews104 Port: mac-mavericks-wk2 Platform: Mac OS X 10.9.5
Jer Noble
Comment 27 2015-05-22 09:25:04 PDT
Created attachment 253591 [details] Patch Turns out, media selection groups for non-HLS media doesn't really work in Mavericks; skipping the test there.
Eric Carlson
Comment 28 2015-05-22 09:55:33 PDT
Comment on attachment 253591 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=253591&action=review > Source/WebCore/ChangeLog:32 > + * page/CaptionUserPreferences.cpp: > + (WebCore::CaptionUserPreferences::setPreferredAudioCharacteristic): Simple setter. > + (WebCore::CaptionUserPreferences::preferredAudioCharacteristics): Simple getter. > + * page/CaptionUserPreferences.h: > + * page/CaptionUserPreferencesMediaAF.cpp: > + (WebCore::CaptionUserPreferencesMediaAF::~CaptionUserPreferencesMediaAF): Unregister for audio characteristics change notifications. > + (WebCore::CaptionUserPreferencesMediaAF::setInterestedInCaptionPreferenceChanges): Register for same. > + (WebCore::CaptionUserPreferencesMediaAF::setPreferredAudioCharacteristic): If in testing mode, pass to superclass; otherwise no-op. > + (WebCore::CaptionUserPreferencesMediaAF::preferredAudioCharacteristics): If in testing mode, pass to superclass; > + otherwise, ask the media accessibility framework. > + * page/CaptionUserPreferencesMediaAF.h: We should probably rename these files in a follow up patch since they aren't caption specific any more. UserMediaAccessibilityPreferences or MediaAccessibilityUserPreferences?
Jer Noble
Comment 29 2015-05-22 13:08:20 PDT
Jer Noble
Comment 30 2015-05-22 13:09:49 PDT
(In reply to comment #28) > Comment on attachment 253591 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=253591&action=review > > > Source/WebCore/ChangeLog:32 > > + * page/CaptionUserPreferences.cpp: > > + (WebCore::CaptionUserPreferences::setPreferredAudioCharacteristic): Simple setter. > > + (WebCore::CaptionUserPreferences::preferredAudioCharacteristics): Simple getter. > > + * page/CaptionUserPreferences.h: > > + * page/CaptionUserPreferencesMediaAF.cpp: > > + (WebCore::CaptionUserPreferencesMediaAF::~CaptionUserPreferencesMediaAF): Unregister for audio characteristics change notifications. > > + (WebCore::CaptionUserPreferencesMediaAF::setInterestedInCaptionPreferenceChanges): Register for same. > > + (WebCore::CaptionUserPreferencesMediaAF::setPreferredAudioCharacteristic): If in testing mode, pass to superclass; otherwise no-op. > > + (WebCore::CaptionUserPreferencesMediaAF::preferredAudioCharacteristics): If in testing mode, pass to superclass; > > + otherwise, ask the media accessibility framework. > > + * page/CaptionUserPreferencesMediaAF.h: > > We should probably rename these files in a follow up patch since they aren't > caption specific any more. UserMediaAccessibilityPreferences or > MediaAccessibilityUserPreferences? Yeah. MediaAccessibilityUserPreferences maybe, otherwise it sounds a bit too much like "preferences for accessibility of user media".
WebKit Commit Bot
Comment 31 2015-05-22 13:10:56 PDT
Attachment 253602 [details] did not pass style-queue: ERROR: Source/WebCore/platform/mac/SoftLinking.h:453: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebCore/platform/mac/SoftLinking.h:464: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebCore/platform/mac/SoftLinking.h:469: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebCore/platform/win/SoftLinking.h:287: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebCore/platform/win/SoftLinking.h:298: Extra space before ( in function call [whitespace/parens] [4] ERROR: Source/WebCore/platform/win/SoftLinking.h:303: Extra space before ( in function call [whitespace/parens] [4] Total errors found: 6 in 29 files If any of these errors are false positives, please file a bug against check-webkit-style.
WebKit Commit Bot
Comment 32 2015-05-22 16:15:56 PDT
Comment on attachment 253602 [details] Patch Clearing flags on attachment: 253602 Committed r184799: <http://trac.webkit.org/changeset/184799>
Alexey Proskuryakov
Comment 33 2015-05-22 17:21:33 PDT
Jer Noble
Comment 34 2015-05-22 18:26:13 PDT
Hm; they pass locally. I'll investigate this. The hls/ version of this test seems to be working fine on all bots, so I think it's safe to Skip this test while I figure out what's going on.
Alexey Proskuryakov
Comment 35 2015-05-22 22:51:18 PDT
OK, marked as flaky in r184817 (it sometimes passes, but usually fails).
Note You need to log in before you can comment on or make changes to this bug.