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

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

Issue 178043006: Fix crash when resizing a view destroys the render tree (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Cleanup test Created 6 years, 10 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 | « no previous file | LayoutTests/svg/custom/draw-image-crash-expected.txt » ('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
new file mode 100644
index 0000000000000000000000000000000000000000..a1aba9eed95f985de19bc64511495336d996b757
--- /dev/null
+++ b/LayoutTests/svg/custom/draw-image-crash.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<html>
+This test passes if it does not crash and 'PASS' is printed.<br/>
+<img id="crash" src="resources/draw-image-crash.svg"></img>
+<script>
+if (window.testRunner)
+ testRunner.waitUntilDone();
+
+setTimeout(function() {
+ if (location.hash == '#done') {
+ document.write('PASS');
+ if (window.testRunner) {
+ testRunner.notifyDone();
+ testRunner.dumpAsText();
+ }
+ } else {
+ location.hash = 'done';
+ window.location.reload();
+ }
+}, 0);
+</script>
+</html>
+
« 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