/home/clopez/webkit/webkit/layout-test-results/media/track/track-in-band-actual.txt

77EVENT(addtrack)
88EXPECTED (event.track == 'video.textTracks[1]') OK
99
10 EVENT(addtrack)
11 EXPECTED (event.track == 'video.textTracks[2]') OK
12 
13 EVENT(addtrack)
14 EXPECTED (event.track == 'video.textTracks[3]') OK
15 
1610EVENT(canplaythrough)
1711
1812** Check initial in-band track states
19 EXPECTED (video.textTracks.length == '4') OK
 13EXPECTED (video.textTracks.length == '4'), OBSERVED '2' FAIL
2014RUN(inbandTrack1 = video.textTracks[0])
2115RUN(inbandTrack2 = video.textTracks[1])
2216RUN(inbandTrack3 = video.textTracks[2])
2317RUN(inbandTrack4 = video.textTracks[3])
2418EXPECTED (inbandTrack1.language == 'en') OK
2519EXPECTED (inbandTrack1.kind == 'subtitles') OK
26 EXPECTED (inbandTrack2.language == 'en') OK
27 EXPECTED (inbandTrack2.kind == 'forced') OK
28 EXPECTED (inbandTrack3.language == 'fr') OK
29 EXPECTED (inbandTrack3.kind == 'subtitles') OK
30 EXPECTED (inbandTrack4.language == 'fr') OK
31 EXPECTED (inbandTrack4.kind == 'forced') OK
 20EXPECTED (inbandTrack2.language == 'en'), OBSERVED 'fr' FAIL
 21EXPECTED (inbandTrack2.kind == 'forced'), OBSERVED 'subtitles' FAIL
 22TypeError: undefined is not an object (evaluating 'inbandTrack3.language')
 23TypeError: undefined is not an object (evaluating 'inbandTrack3.kind')
 24TypeError: undefined is not an object (evaluating 'inbandTrack4.language')
 25TypeError: undefined is not an object (evaluating 'inbandTrack4.kind')
3226
3327** Add two tracks, check sort order
3428RUN(addTrack = video.addTextTrack('captions', 'Caption Track', 'en'))
3529RUN(trackElement = document.createElement('track'))
3630RUN(video.appendChild(trackElement))
37 EXPECTED (video.textTracks.length == '6') OK
 31EXPECTED (video.textTracks.length == '6'), OBSERVED '4' FAIL
3832EXPECTED (video.textTracks[0] == 'trackElement.track') OK
3933EXPECTED (video.textTracks[1] == 'addTrack') OK
4034EXPECTED (video.textTracks[2] == 'inbandTrack1') OK