Index: LayoutTests/fast/css-generated-content/malformed-url.html |
diff --git a/LayoutTests/fast/css-generated-content/malformed-url.html b/LayoutTests/fast/css-generated-content/malformed-url.html |
index 0aa341a90d66dc07f662a738824be4e0423a84fb..d1f85e8c426d3f83d5d1987c1b4a00440a99e258 100644 |
--- a/LayoutTests/fast/css-generated-content/malformed-url.html |
+++ b/LayoutTests/fast/css-generated-content/malformed-url.html |
@@ -9,6 +9,8 @@ if (window.testRunner) { |
testRunner.dumpAsText(); |
testRunner.waitUntilDone(); |
} |
-window.location.href = 'resources/pass.html'; |
+onload = function() { |
+ window.location.href = 'resources/pass.html'; |
+}; |
</script> |
</html> |