Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Side by Side Diff: LayoutTests/media/track/text-track-is-reachable-expected.txt

Issue 242113012: Make text track and cue wrapper objects dependent on their media element. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Tidy up code in places Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 Ensure that a TextTrack won't be collected if it has a custom property. 1 Ensure that a TextTrack won't be collected if it has a custom property.
2 2
3 ** Validate. 3 ** Validate.
4 EXPECTED (video.textTracks.length == '1') OK 4 EXPECTED (video.textTracks.length == '1') OK
5 EXPECTED (video.textTracks[0].kind == 'captions') OK 5 EXPECTED (video.textTracks[0].kind == 'captions') OK
6 6
7 ** Add a custom property to the track. 7 ** Add a custom property to the track.
8 RUN(video.textTracks[0].myProperty = 'egg salad!?') 8 RUN(video.textTracks[0].myProperty = 'egg salad!?')
9 EXPECTED (video.textTracks[0].myProperty == 'egg salad!?') OK 9 EXPECTED (video.textTracks[0].myProperty == 'egg salad!?') OK
10 10
11 ** Force garbage collection. 11 ** Force garbage collection.
12 EXPECTED (video.textTracks[0].cues.length == '4') OK 12 EXPECTED (video.textTracks[0].cues.length == '4') OK
13 EXPECTED (video.textTracks[0].myProperty == 'egg salad!?'), OBSERVED 'undefined' FAIL 13 EXPECTED (video.textTracks[0].myProperty == 'egg salad!?') OK
14 14
15 END OF TEST 15 END OF TEST
16 16
OLDNEW
« no previous file with comments | « LayoutTests/media/track/text-track-cue-is-reachable-expected.txt ('k') | LayoutTests/media/track/track-cue-gc-wrapper.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698