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

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

Issue 58533003: Move fast/js/resources files to resources. (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 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../fast/js/resources/js-test-pre.js"></script> 3 <script src="../../resources/js-test.js"></script>
4 <script> 4 <script>
5 if (window.testRunner) 5 if (window.testRunner)
6 testRunner.dumpAsText(); 6 testRunner.dumpAsText();
7 7
8 function go() { 8 function go() {
9 var oSVGAltGlyphElement = document.createElementNS("http://www.w3.org/2000/s vg", "altGlyph"); 9 var oSVGAltGlyphElement = document.createElementNS("http://www.w3.org/2000/s vg", "altGlyph");
10 var oSvgMaskElement = document.createElementNS("http://www.w3.org/2000/svg", "mask"); 10 var oSvgMaskElement = document.createElementNS("http://www.w3.org/2000/svg", "mask");
11 var oSvgLengthList = oSVGAltGlyphElement.dy.baseVal; 11 var oSvgLengthList = oSVGAltGlyphElement.dy.baseVal;
12 oSvgLengthList.appendItem(oSvgMaskElement.width.animVal); 12 oSvgLengthList.appendItem(oSvgMaskElement.width.animVal);
13 gc(); 13 gc();
14 oSvgLengthList.appendItem(oSvgMaskElement.width.animVal); 14 oSvgLengthList.appendItem(oSvgMaskElement.width.animVal);
15 gc(); 15 gc();
16 oSvgLengthList.removeItem(0); 16 oSvgLengthList.removeItem(0);
17 gc(); 17 gc();
18 oSvgLengthList.appendItem(oSvgMaskElement.width.animVal); 18 oSvgLengthList.appendItem(oSvgMaskElement.width.animVal);
19 gc(); 19 gc();
20 } 20 }
21 </script> 21 </script>
22 </head> 22 </head>
23 <body onload="go()"> 23 <body onload="go()">
24 This test passes if it doesn't crash. 24 This test passes if it doesn't crash.
25 </body> 25 </body>
26 </html> 26 </html>
OLDNEW
« no previous file with comments | « LayoutTests/svg/dom/SVGViewSpec-invalid-ref-crash.html ('k') | LayoutTests/svg/dom/css-transforms.xhtml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698