Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Unified Diff: LayoutTests/svg/custom/draw-image-crash.html

Issue 679863002: Revert "Prepare blink to unify definitions of load completion" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/svg/custom/bug79798.html ('k') | LayoutTests/svg/custom/resources/linkingCircle-f.svg » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/svg/custom/draw-image-crash.html
diff --git a/LayoutTests/svg/custom/draw-image-crash.html b/LayoutTests/svg/custom/draw-image-crash.html
index 37709854e5007dba95388c658c1ffb69e5374849..8b7065a5c0a7fe4c430fb13d0bc0a29153b4b7ed 100644
--- a/LayoutTests/svg/custom/draw-image-crash.html
+++ b/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();
-window.onload = function() {
+setTimeout(function() {
if (location.hash == '#done') {
document.write('PASS');
if (window.testRunner) {
@@ -17,7 +17,7 @@ window.onload = function() {
location.hash = 'done';
window.location.reload();
}
-}
+}, 0);
</script>
</html>
« no previous file with comments | « LayoutTests/svg/custom/bug79798.html ('k') | LayoutTests/svg/custom/resources/linkingCircle-f.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698