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> |