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

Unified 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: 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/misc/stop-loading-on-resource-timing-buffer-full-crash.html
diff --git a/LayoutTests/http/tests/misc/stop-loading-on-resource-timing-buffer-full-crash.html b/LayoutTests/http/tests/misc/stop-loading-on-resource-timing-buffer-full-crash.html
index 173822fa3be31dd7e22d78037dfe86a53c2de8da..02f7fad1e89bbcbf4181f13371f8e221435fb8ca 100644
--- a/LayoutTests/http/tests/misc/stop-loading-on-resource-timing-buffer-full-crash.html
+++ b/LayoutTests/http/tests/misc/stop-loading-on-resource-timing-buffer-full-crash.html
@@ -1,7 +1,11 @@
<html>
-<head>
+<body>
<script src="/js-test-resources/js-test.js"></script>
<script>
+if (window.testRunner) {
+ testRunner.dumpAsText();
+ testRunner.waitUntilDone();
+}
performance.onwebkitresourcetimingbufferfull = function() {
window.stop();
@@ -11,13 +15,5 @@ performance.onwebkitresourcetimingbufferfull = function() {
performance.webkitSetResourceTimingBufferSize(1);
</script>
-</head>
-<body>
-<script>
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
-}
-</script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698