Index: LayoutTests/media/track/tracklist-is-reachable-no-crash-expected.txt |
diff --git a/LayoutTests/media/track/tracklist-is-reachable-no-crash-expected.txt b/LayoutTests/media/track/tracklist-is-reachable-no-crash-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..258865ee11f8a0ea3bb5d4ac42e274bec90f2171 |
--- /dev/null |
+++ b/LayoutTests/media/track/tracklist-is-reachable-no-crash-expected.txt |
@@ -0,0 +1,11 @@ |
+Test that a detached TextTrackList can still be used without crashing. |
+ |
+** Register an event handler on video element's TextTrackList. |
+ |
+** Force garbage collection. |
+** Inspect and invoke the handler. |
+EXPECTED (tracks.onaddtrack == 'function handler() { consoleWrite("PASS (no crash)"); }') OK |
+PASS (no crash) |
+ |
+END OF TEST |
+ |