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

Side by Side Diff: LayoutTests/svg/dom/SVGAnimatedListPropertyTearOff-crash.html

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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <body> 3 <body>
4 <script src="../../fast/js/resources/js-test-pre.js"></script> 4 <script src="../../fast/js/resources/js-test-pre.js"></script>
5 <script> 5 <script>
6 description("This tests SVGAnimatedListPropertyTearOff don't crash if modifi ed after contextElement goes out of scope."); 6 description("This tests SVGAnimatedListPropertyTearOff don't crash if modifi ed after contextElement goes out of scope.");
7 7
8 var text = document.createElementNS("http://www.w3.org/2000/svg","text"); 8 var text = document.createElementNS("http://www.w3.org/2000/svg","text");
9 var baseVal = text.dx.baseVal; 9 var baseVal = text.dx.baseVal;
10 text = null; 10 text = null;
11 gc(); 11 gc();
12 12
13 var svgLength = document.createElementNS("http://www.w3.org/2000/svg","svg") .createSVGLength(); 13 var svgLength = document.createElementNS("http://www.w3.org/2000/svg","svg") .createSVGLength();
14 baseVal.appendItem(svgLength); 14 baseVal.appendItem(svgLength);
15 gc(); 15 gc();
16 16
17 debug("This test passes if we don't crash."); 17 debug("This test passes if we don't crash.");
18 </script> 18 </script>
19 <script src="../../fast/js/resources/js-test-post.js"></script>
20 </body> 19 </body>
21 </html> 20 </html>
OLDNEW
« no previous file with comments | « LayoutTests/svg/dom/SVGAnimatedLengthList.html ('k') | LayoutTests/svg/dom/SVGAnimatedListPropertyTearOff-crash-2.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698