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