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

Side by Side Diff: LayoutTests/http/tests/misc/stop-loading-on-resource-timing-buffer-full-crash.html

Issue 561813003: Prepare blink to unify definitions of load completion (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add document.close() to scroll-left-while-loading.html Created 6 years, 2 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
1 <html> 1 <html>
2 <head> 2 <body>
3 <script src="/js-test-resources/js-test.js"></script> 3 <script src="/js-test-resources/js-test.js"></script>
4 <script> 4 <script>
5 if (window.testRunner) {
6 testRunner.dumpAsText();
7 testRunner.waitUntilDone();
8 }
5 9
6 performance.onwebkitresourcetimingbufferfull = function() { 10 performance.onwebkitresourcetimingbufferfull = function() {
7 window.stop(); 11 window.stop();
8 document.body.innerHTML = "PASS. No crash when stop loading on resource timing buffer full."; 12 document.body.innerHTML = "PASS. No crash when stop loading on resource timing buffer full.";
9 setTimeout("testRunner.notifyDone()", 0); 13 setTimeout("testRunner.notifyDone()", 0);
10 }; 14 };
11 15
12 performance.webkitSetResourceTimingBufferSize(1); 16 performance.webkitSetResourceTimingBufferSize(1);
13 </script> 17 </script>
14 </head>
15 <body>
16 <script>
17 if (window.testRunner) {
18 testRunner.dumpAsText();
19 testRunner.waitUntilDone();
20 }
21 </script>
22 </body> 18 </body>
23 </html> 19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698