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

Unified Diff: LayoutTests/svg/animations/remove-begin-event-crash.html

Issue 145583005: [SVG] Remove existing event listeners when eventBase conditions are cleared (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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/remove-begin-event-crash.html
diff --git a/LayoutTests/svg/animations/remove-begin-event-crash.html b/LayoutTests/svg/animations/remove-begin-event-crash.html
new file mode 100755
index 0000000000000000000000000000000000000000..3d8c7a45ed89825a168d155497f20c0e57f9f5b8
--- /dev/null
+++ b/LayoutTests/svg/animations/remove-begin-event-crash.html
@@ -0,0 +1,22 @@
+<!DOCTYPE HTML>
+<html onload="tCFcrash();">
Stephen Chennney 2014/01/27 15:24:28 Rename methods and variables to something meaningf
pavane 2014/01/27 17:01:19 Done.
+<head>
+ <script>
+ function tCFcrash() {
+ tCF4.removeAttribute("begin");
+ tCF4.parentNode.removeChild(tCF4);
+ delete tCF4;
+ }
+ if (window.testRunner)
+ testRunner.dumpAsText();
+ </script>
+</head>
+<body>
+Test for crbug.com/338124: This test passes if it does not crash.<br/>
Stephen Chennney 2014/01/27 15:24:28 We generally do not reference the bug in the test
pavane 2014/01/27 17:01:19 Done.
+PASS
+<svg>
+ <animate id="anim" attributeName="visibility" />
+ <set begin="anim.beginEvent" id="tCF4" to="100" attributeName="width" />
+</svg>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698