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 02f7fad1e89bbcbf4181f13371f8e221435fb8ca..173822fa3be31dd7e22d78037dfe86a53c2de8da 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,11 +1,7 @@ |
<html> |
-<body> |
+<head> |
<script src="/js-test-resources/js-test.js"></script> |
<script> |
-if (window.testRunner) { |
- testRunner.dumpAsText(); |
- testRunner.waitUntilDone(); |
-} |
performance.onwebkitresourcetimingbufferfull = function() { |
window.stop(); |
@@ -15,5 +11,13 @@ performance.onwebkitresourcetimingbufferfull = function() { |
performance.webkitSetResourceTimingBufferSize(1); |
</script> |
+</head> |
+<body> |
+<script> |
+if (window.testRunner) { |
+ testRunner.dumpAsText(); |
+ testRunner.waitUntilDone(); |
+} |
+</script> |
</body> |
</html> |