--- /home/clopez/webkit/webkit/layout-test-results/media/track/track-in-band-legacy-api-expected.txt +++ /home/clopez/webkit/webkit/layout-test-results/media/track/track-in-band-legacy-api-actual.txt @@ -4,12 +4,12 @@ EVENT(canplaythrough) ** Check initial in-band track states -EXPECTED (video.textTracks.length == '1') OK +EXPECTED (video.textTracks.length == '1'), OBSERVED '0' FAIL RUN(inbandTrack1 = video.textTracks[0]) -EXPECTED (inbandTrack1.mode == 'disabled') OK -EXPECTED (inbandTrack1.cues == 'null') OK -EXPECTED (inbandTrack1.language == 'en') OK -EXPECTED (inbandTrack1.kind == 'captions') OK +TypeError: undefined is not an object (evaluating 'inbandTrack1.mode') +TypeError: undefined is not an object (evaluating 'inbandTrack1.cues') +TypeError: undefined is not an object (evaluating 'inbandTrack1.language') +TypeError: undefined is not an object (evaluating 'inbandTrack1.kind') ** Enable cues and let them load RUN(video.webkitClosedCaptionsVisible = true) @@ -17,12 +17,12 @@ EVENT(seeked) ** Test to make sure captions are displaying -EXPECTED (inbandTrack1.cues != 'null') OK -EXPECTED (textTrackDisplayElement(video, 'cue').textContent != 'null') OK +TypeError: undefined is not an object (evaluating 'inbandTrack1.cues') +No text track cue with display id 'cue' is currently visible ** Disable captions, cues should be flushed RUN(video.webkitClosedCaptionsVisible = false) -EXPECTED (inbandTrack1.cues == 'null') OK +TypeError: undefined is not an object (evaluating 'inbandTrack1.cues') END OF TEST