Implicitly, the method addTextTrack should set the text track mode to HIDDEN and readiness state to LOADED.
Created attachment 145740 [details] Updated code
Comment on attachment 145740 [details] Updated code Good catch, thanks Victor!
Comment on attachment 145740 [details] Updated code Rejecting attachment 145740 [details] from commit-queue. New failing tests: media/track/track-text-track-destructor-crash.html Full output: http://queues.webkit.org/results/12898667
Created attachment 145880 [details] Archive of layout-test-results from ec2-cq-01 The attached test failures were seen while running run-webkit-tests on the commit-queue. Bot: ec2-cq-01 Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'> Platform: Linux-2.6.35-28-virtual-x86_64-with-Ubuntu-10.10-maverick
Comment on attachment 145740 [details] Updated code Attachment 145740 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/12907132 New failing tests: media/track/track-text-track-destructor-crash.html
Created attachment 145928 [details] Archive of layout-test-results from ec2-cr-linux-04 The attached test failures were seen while running run-webkit-tests on the chromium-ews. Bot: ec2-cr-linux-04 Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'> Platform: Linux-2.6.35-28-virtual-x86_64-with-Ubuntu-10.10-maverick
Created attachment 146403 [details] Updated patch
Comment on attachment 146403 [details] Updated patch The trouble with the failing test was that setMode has side effects and calls configureTextTracks, but the new TextTrack has not yet been appended to the TextTrackList. The simplest fix is to change the order: first add the track and set the parameters right after, since it preserves the spec intention.
Comment on attachment 146403 [details] Updated patch Clearing flags on attachment: 146403 Committed r119792: <http://trac.webkit.org/changeset/119792>
All reviewed patches have been landed. Closing bug.