Index: LayoutTests/http/tests/images/png-partial-load.html |
diff --git a/LayoutTests/http/tests/images/png-partial-load.html b/LayoutTests/http/tests/images/png-partial-load.html |
index 1080492c30af2e824d48de10f8288c3c3cfc2091..6f93e95e0d6d0e920ee7837dd959db5770f0c99a 100644 |
--- a/LayoutTests/http/tests/images/png-partial-load.html |
+++ b/LayoutTests/http/tests/images/png-partial-load.html |
@@ -27,5 +27,7 @@ function runTest() |
setTimeout(testDone, 500); |
} |
-setTimeout(runTest, 0); |
+window.onload = function() { |
+ setTimeout(runTest, 0); |
+} |
</script> |