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

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

Issue 1867303002: Convert track tests from video-test.js to testharness.js based (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Simplify GC invocation as per comments Created 4 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
(Empty)
1 Ensure that a TextTrackCue won't be collected if it has a custom property.
2
3 ** Validate.
4 EXPECTED (video.textTracks[0].cues.length == '4') OK
5 EXPECTED (video.textTracks[0].cues[1].startTime == '31') OK
6
7 ** Add a custom property to a cue.
8 RUN(video.textTracks[0].cues[1].myProperty = 'tuna salad?')
9 EXPECTED (video.textTracks[0].cues[1].myProperty == 'tuna salad?') OK
10
11 ** Force garbage collection.
12 EXPECTED (video.textTracks[0].cues.length == '4') OK
13 EXPECTED (video.textTracks[0].cues[1].myProperty == 'tuna salad?') OK
14
15 END OF TEST
16
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698