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

Side by Side 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, 1 month 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 This test passes if it does not crash and 'PASS' is printed.<br/> 3 This test passes if it does not crash and 'PASS' is printed.<br/>
4 <img id="crash" src="resources/draw-image-crash.svg"></img> 4 <img id="crash" src="resources/draw-image-crash.svg"></img>
5 <script> 5 <script>
6 if (window.testRunner) 6 if (window.testRunner)
7 testRunner.waitUntilDone(); 7 testRunner.waitUntilDone();
8 8
9 window.onload = function() { 9 setTimeout(function() {
10 if (location.hash == '#done') { 10 if (location.hash == '#done') {
11 document.write('PASS'); 11 document.write('PASS');
12 if (window.testRunner) { 12 if (window.testRunner) {
13 testRunner.dumpAsText(); 13 testRunner.dumpAsText();
14 testRunner.notifyDone(); 14 testRunner.notifyDone();
15 } 15 }
16 } else { 16 } else {
17 location.hash = 'done'; 17 location.hash = 'done';
18 window.location.reload(); 18 window.location.reload();
19 } 19 }
20 } 20 }, 0);
21 </script> 21 </script>
22 </html> 22 </html>
23 23
OLDNEW
« 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