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

Side by Side Diff: LayoutTests/fast/dom/NodeList/nodelist-item-assignment.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="../../js/resources/js-test-pre.js"></script> 3 <script src="../../../resources/js-test.js"></script>
4 </head> 4 </head>
5 <body> 5 <body>
6 <p id="description"></p> 6 <p id="description"></p>
7 <ol></ol> 7 <ol></ol>
8 8
9 <div id="console"></div> 9 <div id="console"></div>
10 10
11 <script> 11 <script>
12 description( 12 description(
13 'This tests that indexed assignments to items of a NodeList do not override or iginal values. ' + 13 'This tests that indexed assignments to items of a NodeList do not override or iginal values. ' +
14 'See http://code.google.com/p/chromium/issues/detail?id=27967'); 14 'See http://code.google.com/p/chromium/issues/detail?id=27967');
15 15
16 var nodeList = document.getElementsByTagName('ol'); 16 var nodeList = document.getElementsByTagName('ol');
17 var first = nodeList[0]; 17 var first = nodeList[0];
18 shouldBeFalse("first == null"); 18 shouldBeFalse("first == null");
19 19
20 nodeList[0] = null; 20 nodeList[0] = null;
21 for (var i = 0; i < 13; i++) { 21 for (var i = 0; i < 13; i++) {
22 shouldBe("nodeList[0]", "first"); 22 shouldBe("nodeList[0]", "first");
23 } 23 }
24 </script> 24 </script>
25 </body> 25 </body>
26 </html> 26 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698