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

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

Issue 679863002: Revert "Prepare blink to unify definitions of load completion" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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
OLDNEW
1 <html> 1 <html>
2 <body> 2 <head>
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 }
9 5
10 performance.onwebkitresourcetimingbufferfull = function() { 6 performance.onwebkitresourcetimingbufferfull = function() {
11 window.stop(); 7 window.stop();
12 document.body.innerHTML = "PASS. No crash when stop loading on resource timing buffer full."; 8 document.body.innerHTML = "PASS. No crash when stop loading on resource timing buffer full.";
13 setTimeout("testRunner.notifyDone()", 0); 9 setTimeout("testRunner.notifyDone()", 0);
14 }; 10 };
15 11
16 performance.webkitSetResourceTimingBufferSize(1); 12 performance.webkitSetResourceTimingBufferSize(1);
17 </script> 13 </script>
14 </head>
15 <body>
16 <script>
17 if (window.testRunner) {
18 testRunner.dumpAsText();
19 testRunner.waitUntilDone();
20 }
21 </script>
18 </body> 22 </body>
19 </html> 23 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698