Index: LayoutTests/media/track/track-cue-gc-wrapper-expected.txt |
diff --git a/LayoutTests/media/track/track-cue-gc-wrapper-expected.txt b/LayoutTests/media/track/track-cue-gc-wrapper-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5ffeaeee3a0d442fa63f5186a46505e1b925c508 |
--- /dev/null |
+++ b/LayoutTests/media/track/track-cue-gc-wrapper-expected.txt |
@@ -0,0 +1,33 @@ |
+Tests that added cue object wrappers live across garbage collections. |
+ |
+** Add a text track to the video element ** |
+EXPECTED (track.hasOwnProperty('custom') == 'true') OK |
+** Add cues with own native property to the track with enter event listener. ** |
+EXPECTED (cue.hasOwnProperty('custom') == 'true') OK |
+EXPECTED (cue.hasOwnProperty('custom') == 'true') OK |
+EXPECTED (cue.hasOwnProperty('custom') == 'true') OK |
+EXPECTED (cue.hasOwnProperty('custom') == 'true') OK |
+EXPECTED (cue.hasOwnProperty('custom') == 'true') OK |
+EXPECTED (cue.hasOwnProperty('custom') == 'true') OK |
+EXPECTED (cue.hasOwnProperty('custom') == 'true') OK |
+EXPECTED (cue.hasOwnProperty('custom') == 'true') OK |
+EXPECTED (cue.hasOwnProperty('custom') == 'true') OK |
+EXPECTED (cue.hasOwnProperty('custom') == 'true') OK |
+ |
+** Trigger a garbage collection. ** |
+EXPECTED (track.hasOwnProperty('custom') == 'true') OK |
+ |
+** Play the video and test cue wrappers. ** |
+RUN(video.play()) |
+EXPECTED (cue.hasOwnProperty('custom') == 'true') OK |
+EXPECTED (cue.hasOwnProperty('custom') == 'true') OK |
+EXPECTED (cue.hasOwnProperty('custom') == 'true') OK |
+EXPECTED (cue.hasOwnProperty('custom') == 'true') OK |
+EXPECTED (cue.hasOwnProperty('custom') == 'true') OK |
+EXPECTED (cue.hasOwnProperty('custom') == 'true') OK |
+EXPECTED (cue.hasOwnProperty('custom') == 'true') OK |
+EXPECTED (cue.hasOwnProperty('custom') == 'true') OK |
+EXPECTED (cue.hasOwnProperty('custom') == 'true') OK |
+EXPECTED (cue.hasOwnProperty('custom') == 'true') OK |
+END OF TEST |
+ |