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

Side by Side Diff: LayoutTests/media/track/track-dispose.html

Issue 1291063002: Test for issue 516298 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script>
3 if (window.testRunner) {
4 testRunner.dumpAsText();
5 testRunner.waitUntilDone();
6 }
7 window.onmessage = function() {
8 setTimeout(function() {
9 var iframe = document.querySelector('iframe');
10 iframe.src = iframe.src;
11 gc();
12 setTimeout(function() {
13 if (window.testRunner)
14 testRunner.notifyDone();
15 }, 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
16 }, 0);
17 }
18 </script>
19 <p>PASS if no crash.</p>
20 <iframe src="../resources/track-dispose-inner.html"></iframe>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698