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

Unified Diff: LayoutTests/svg/animations/discard-on-svg-crash-2.html

Issue 195233003: Prevent destruction of self in SMILTimeContainer with 'discard' (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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 side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698