summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/svg/custom/draw-image-crash.html
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/WebKit/LayoutTests/svg/custom/draw-image-crash.html')
-rw-r--r--third_party/WebKit/LayoutTests/svg/custom/draw-image-crash.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/WebKit/LayoutTests/svg/custom/draw-image-crash.html b/third_party/WebKit/LayoutTests/svg/custom/draw-image-crash.html
index 8b7065a..3770985 100644
--- a/third_party/WebKit/LayoutTests/svg/custom/draw-image-crash.html
+++ b/third_party/WebKit/LayoutTests/svg/custom/draw-image-crash.html
@@ -6,7 +6,7 @@ This test passes if it does not crash and 'PASS' is printed.<br/>
if (window.testRunner)
testRunner.waitUntilDone();
-setTimeout(function() {
+window.onload = function() {
if (location.hash == '#done') {
document.write('PASS');
if (window.testRunner) {
@@ -17,7 +17,7 @@ setTimeout(function() {
location.hash = 'done';
window.location.reload();
}
-}, 0);
+}
</script>
</html>