I have seen this happen with a couple different media/track tests. http://build.webkit.org/results/Apple%20MountainLion%20Debug%20WK2%20(Tests)/r148970%20(9125)/media/track/track-mode-diff.txt --- /Volumes/Data/slave/mountainlion-debug-tests-wk2/build/layout-test-results/media/track/track-mode-expected.txt +++ /Volumes/Data/slave/mountainlion-debug-tests-wk2/build/layout-test-results/media/track/track-mode-actual.txt @@ -1,39 +1,3 @@ -Tests that the TextTrack mode attribute is appropriately set. +CONSOLE MESSAGE: line 59: InvalidStateError: DOM Exception 11: An attempt was made to use an object that is not, or is no longer, usable. +FAIL: Timed out waiting for notifyDone to be called - -++ Test default attribute value -EXPECTED (textTrack.mode == 'showing') OK -EXPECTED (video.textTracks[0].mode == 'showing') OK - -*** Set to bogus value, should return default -RUN(textTrack.mode = 'bogus') -EXPECTED (textTrack.mode == 'showing') OK -EXPECTED (video.textTracks[0].mode == 'showing') OK - -*** Set to known values -++ 'disabled' -RUN(textTrack.mode = 'disabled') -EXPECTED (textTrack.mode == 'disabled') OK -EXPECTED (video.textTracks[0].mode == 'disabled') OK -EXPECTED (textTrack.cues == 'null') OK - -++ 0 events expected while mode = disabled - -++ 'hidden' -RUN(textTrack.mode = 'hidden') -EXPECTED (textTrack.mode == 'hidden') OK -EXPECTED (video.textTracks[0].mode == 'hidden') OK -EXPECTED (textTrack.cues.length == '3') OK - -++ 'showing' -RUN(textTrack.mode = 'showing') -EXPECTED (textTrack.mode == 'showing') OK -EXPECTED (video.textTracks[0].mode == 'showing') OK -EXPECTED (textTrack.cues.length == '3') OK - -++ at least 3 events expected while mode = showing -EVENT(cuechange) -EVENT(cuechange) -EVENT(cuechange) -END OF TEST -
<rdar://problem/13717711>
+CONSOLE MESSAGE: line 59: InvalidStateError: DOM Exception 11: An attempt was made to use an object that is not, or is no longer, usable. This happens because the currentTime attribute is being set before the video element is ready. This happens because the test does this after a hard-coded delay instead of waiting for an event.
Lets us this bug for the fixes to track-mode.html. Please file additional bugs for other failures.
Created attachment 199453 [details] Proposed patch
Comment on attachment 199453 [details] Proposed patch Clearing flags on attachment: 199453 Committed r149197: <http://trac.webkit.org/changeset/149197>
All reviewed patches have been landed. Closing bug.