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

Side by Side Diff: LayoutTests/media/track/track-cue-gc-wrapper-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
« no previous file with comments | « LayoutTests/media/track/track-cue-gc-wrapper.html ('k') | Source/core/html/track/TextTrack.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Tests that added cue object wrappers live across garbage collections.
2
3 ** Add a text track to the video element **
4 EXPECTED (track.hasOwnProperty('custom') == 'true') OK
5 ** Add cues with own native property to the track with enter event listener. **
6 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK
7 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK
8 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK
9 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK
10 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK
11 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK
12 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK
13 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK
14 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK
15 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK
16
17 ** Trigger a garbage collection. **
18 EXPECTED (track.hasOwnProperty('custom') == 'true') OK
19
20 ** Play the video and test cue wrappers. **
21 RUN(video.play())
22 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK
23 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK
24 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK
25 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK
26 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK
27 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK
28 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK
29 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK
30 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK
31 EXPECTED (cue.hasOwnProperty('custom') == 'true') OK
32 END OF TEST
33
OLDNEW
« no previous file with comments | « LayoutTests/media/track/track-cue-gc-wrapper.html ('k') | Source/core/html/track/TextTrack.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698