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

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

Issue 180773004: Merge 168113 "Fix crash when resizing a view destroys the render..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/1750/
Patch Set: Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/svg/custom/draw-image-crash-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 setTimeout(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.notifyDone(); 13 testRunner.notifyDone();
14 testRunner.dumpAsText(); 14 testRunner.dumpAsText();
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 }, 0); 20 }, 0);
21 </script> 21 </script>
22 </html> 22 </html>
23 23
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/svg/custom/draw-image-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698