Index: LayoutTests/media/track/track-dispose.html |
diff --git a/LayoutTests/media/track/track-dispose.html b/LayoutTests/media/track/track-dispose.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e19e53906c605dd8d688633d423f20362ca1ccbb |
--- /dev/null |
+++ b/LayoutTests/media/track/track-dispose.html |
@@ -0,0 +1,20 @@ |
+<!DOCTYPE html> |
+<script> |
+if (window.testRunner) { |
+ testRunner.dumpAsText(); |
+ testRunner.waitUntilDone(); |
+} |
+window.onmessage = function() { |
+ setTimeout(function() { |
+ var iframe = document.querySelector('iframe'); |
+ iframe.src = iframe.src; |
+ gc(); |
+ setTimeout(function() { |
+ if (window.testRunner) |
+ testRunner.notifyDone(); |
+ }, 150); |
philipj_slow
2015/08/13 12:49:15
What is it that happens on a timeout, is it some c
fs
2015/08/13 12:59:40
Yeah, so this is the main gratuitous ugliness - it
philipj_slow
2015/08/13 13:05:45
Oh, I see, it'll just reload it over and over agai
|
+ }, 0); |
+} |
+</script> |
+<p>PASS if no crash.</p> |
+<iframe src="../resources/track-dispose-inner.html"></iframe> |