WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
115045
[Mac] media/track/track-mode.html sometimes trigger InvalidStateError
https://bugs.webkit.org/show_bug.cgi?id=115045
Summary
[Mac] media/track/track-mode.html sometimes trigger InvalidStateError
Jessie Berlin
Reported
2013-04-23 10:40:12 PDT
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 -
Attachments
Proposed patch
(2.79 KB, patch)
2013-04-24 07:44 PDT
,
Eric Carlson
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2013-04-23 10:40:37 PDT
<
rdar://problem/13717711
>
Eric Carlson
Comment 2
2013-04-24 07:28:45 PDT
+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.
Eric Carlson
Comment 3
2013-04-24 07:41:19 PDT
Lets us this bug for the fixes to track-mode.html. Please file additional bugs for other failures.
Eric Carlson
Comment 4
2013-04-24 07:44:33 PDT
Created
attachment 199453
[details]
Proposed patch
WebKit Commit Bot
Comment 5
2013-04-26 11:09:37 PDT
Comment on
attachment 199453
[details]
Proposed patch Clearing flags on attachment: 199453 Committed
r149197
: <
http://trac.webkit.org/changeset/149197
>
WebKit Commit Bot
Comment 6
2013-04-26 11:09:39 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug