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

Side by Side Diff: LayoutTests/svg/dom/SVGViewSpec-invalid-ref-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 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../fast/js/resources/js-test-pre.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <p id="description"></p> 7 <p id="description"></p>
8 <div id="console"></div> 8 <div id="console"></div>
9 <div id="container"><svg xmlns="http://www.w3.org/2000/svg" width="200" height=" 200"/></div> 9 <div id="container"><svg xmlns="http://www.w3.org/2000/svg" width="200" height=" 200"/></div>
10 <script> 10 <script>
11 description("Confirm that null is returned when an SVGViewSpec is used after its corresponding element has been removed."); 11 description("Confirm that null is returned when an SVGViewSpec is used after its corresponding element has been removed.");
12 12
13 successfullyParsed = false; 13 successfullyParsed = false;
14 14
15 var svgView = document.getElementById("container").childNodes[0].currentView ; 15 var svgView = document.getElementById("container").childNodes[0].currentView ;
16 document.getElementById("container").removeChild(document.getElementById("co ntainer").childNodes[0]); 16 document.getElementById("container").removeChild(document.getElementById("co ntainer").childNodes[0]);
17 17
18 gc(); 18 gc();
19 19
20 shouldBeNull("viewPreserveAspectRatio = svgView.preserveAspectRatio;"); 20 shouldBeNull("viewPreserveAspectRatio = svgView.preserveAspectRatio;");
21 shouldBeNull("viewTransform = svgView.transform;"); 21 shouldBeNull("viewTransform = svgView.transform;");
22 shouldBeNull("viewViewTarget = svgView.viewTarget;"); 22 shouldBeNull("viewViewTarget = svgView.viewTarget;");
23 shouldBeNull("viewViewBox = svgView.viewBox;"); 23 shouldBeNull("viewViewBox = svgView.viewBox;");
24 24
25 successfullyParsed = true; 25 successfullyParsed = true;
26 26
27 </script> 27 </script>
28 </body> 28 </body>
29 </html> 29 </html>
OLDNEW
« no previous file with comments | « LayoutTests/svg/dom/SVGTransformList-basics.xhtml ('k') | LayoutTests/svg/dom/baseVal-animVal-crash.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698