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

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

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
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 src="../../fast/js/resources/js-test-pre.js"></script> 7 <script src="../../fast/js/resources/js-test-pre.js"></script>
8 <script> 8 <script>
9 var use = document.getElementById('use'); 9 var use = document.getElementById('use');
10 use.setAttribute('xlink:href', 'bar.svg#bar'); 10 use.setAttribute('xlink:href', 'bar.svg#bar');
11 use.parentNode.removeChild(use); 11 use.parentNode.removeChild(use);
12 use = null; 12 use = null;
13 gc(); 13 gc();
14 14
15 if (window.testRunner) 15 if (window.testRunner)
16 testRunner.dumpAsText(); 16 testRunner.dumpAsText();
17 </script> 17 </script>
18 <script src="../../fast/js/resources/js-test-post.js"></script>
19 </svg> 18 </svg>
OLDNEW
« no previous file with comments | « LayoutTests/svg/custom/title-assertion.html ('k') | LayoutTests/svg/custom/window-named-item-lookup.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698