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

Side by Side 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: rebaselined and worked on review comments 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 unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/svg/animations/remove-begin-event-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
(Empty)
1 <!DOCTYPE HTML>
2 <html onload="mutate();">
3 Test that event listeners are correctly removed when eventBase conditions are cl eared. This test passes if it does not crash.<br/>
4 PASS
5 <svg>
6 <animate id="anim" attributeName="visibility" />
7 <set begin="anim.beginEvent" id="set" to="100" attributeName="width" />
8 </svg>
9 <script>
10 var set = document.getElementById("set");
11 function mutate() {
12 set.removeAttribute("begin");
13 set.parentNode.removeChild(set);
14 delete set;
15 }
16 if (window.testRunner)
17 testRunner.dumpAsText();
18 </script>
19 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/svg/animations/remove-begin-event-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698