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

Side by Side Diff: LayoutTests/fast/dom/htmlcollection-protects-base.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 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <script src="../js/resources/js-test-pre.js"></script> 5 <script src="../../resources/js-test.js"></script>
6 </head> 6 </head>
7 <body> 7 <body>
8 <select foo="bar"> 8 <select foo="bar">
9 <option name="A">A</option> 9 <option name="A">A</option>
10 </select> 10 </select>
11 <script> 11 <script>
12 12
13 description("This test verifies that a HTMLCollection protects its base node fro m being GC'd."); 13 description("This test verifies that a HTMLCollection protects its base node fro m being GC'd.");
14 14
15 options = document.getElementsByTagName("select")[0].options; 15 options = document.getElementsByTagName("select")[0].options;
16 16
17 document.body.removeChild(document.getElementsByTagName("select")[0]); 17 document.body.removeChild(document.getElementsByTagName("select")[0]);
18 18
19 gc(); 19 gc();
20 20
21 options[0] = new Option("bik", "bok"); 21 options[0] = new Option("bik", "bok");
22 shouldBe("options[0].parentNode.getAttribute('foo')", "'bar'"); 22 shouldBe("options[0].parentNode.getAttribute('foo')", "'bar'");
23 23
24 </script> 24 </script>
25 </body> 25 </body>
26 </html> 26 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/htmlcollection-non-html.html ('k') | LayoutTests/fast/dom/htmlcollection-reachable.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698