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

Side by Side Diff: LayoutTests/svg/custom/use-href-update-crash.svg

Issue 11564028: Merge 136541 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1312/
Patch Set: Created 8 years 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/custom/use-href-update-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
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <svg xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/sv g"> 2 <svg xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/sv g">
3 <!-- Test for https://bugs.webkit.org/show_bug.cgi?id=104004 --> 3 <!-- Test for https://bugs.webkit.org/show_bug.cgi?id=104004 -->
4 <use id="use" xlink:href="foo.svg#foo"/> 4 <use id="use" xlink:href="foo.svg#foo"/>
5 <text>PASS: did not crash.</text> 5 <text>PASS: did not crash.</text>
6 6
7 <script> 7 <script>
8 var use = document.getElementById('use'); 8 var use = document.getElementById('use');
9 use.setAttribute('xlink:href', 'bar.svg#bar'); 9 use.setAttribute('xlink:href', 'bar.svg#bar');
10 use.parentNode.removeChild(use); 10 use.parentNode.removeChild(use);
11 use = null; 11 use = null;
12 gc(); 12 gc();
13 13
14 if (window.testRunner) 14 if (window.testRunner)
15 testRunner.dumpAsText(); 15 testRunner.dumpAsText();
16 </script> 16 </script>
17 </svg> 17 </svg>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/svg/custom/use-href-update-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698