Index: LayoutTests/svg/animations/discard-on-svg-crash-2.html |
diff --git a/LayoutTests/svg/animations/discard-on-svg-crash-2.html b/LayoutTests/svg/animations/discard-on-svg-crash-2.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3f0ed12dd58fd466851c6b895f12b20c321e7268 |
--- /dev/null |
+++ b/LayoutTests/svg/animations/discard-on-svg-crash-2.html |
@@ -0,0 +1,19 @@ |
+<!DOCTYPE html> |
+<script> |
+if (window.testRunner) { |
+ testRunner.waitUntilDone(); |
+ testRunner.dumpAsText(); |
+} |
+window.onload = function() { |
+ // Give the animation synchronization some time to run. |
+ setTimeout(function() { |
+ if (window.testRunner) |
+ testRunner.notifyDone(); |
+ }, 50); |
+}; |
+</script> |
+<!-- PASS if no crash. May require ASan or similar. --> |
+<p>PASS</p> |
+<svg xmlns="http://www.w3.org/2000/svg"> |
+ <discard begin="0.01s; foo.end"></discard> |
+</svg> |