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

Side by Side Diff: LayoutTests/fast/dom/Attr/change-id-via-attr-node-value.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 <head> 3 <head>
4 <script src="../../js/resources/js-test-pre.js"></script> 4 <script src="../../js/resources/js-test-pre.js"></script>
5 </head> 5 </head>
6 <body id="a"> 6 <body id="a">
7 <script> 7 <script>
8 8
9 description("Test that different ways of changing an element's id all work prope rly."); 9 description("Test that different ways of changing an element's id all work prope rly.");
10 10
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 206
207 debug("\n23. Add an Attr node over an existing one."); 207 debug("\n23. Add an Attr node over an existing one.");
208 var attrNode = document.createAttribute("id"); 208 var attrNode = document.createAttribute("id");
209 attrNode.value = "p"; 209 attrNode.value = "p";
210 document.body.setAttributeNode(attrNode); 210 document.body.setAttributeNode(attrNode);
211 shouldBe('document.getElementById("o")', 'null'); 211 shouldBe('document.getElementById("o")', 'null');
212 shouldBe('document.getElementById("p")', 'document.body'); 212 shouldBe('document.getElementById("p")', 'document.body');
213 shouldBe('document.body.id', '"p"'); 213 shouldBe('document.body.id', '"p"');
214 shouldBe('document.body.getAttribute("id")', '"p"'); 214 shouldBe('document.body.getAttribute("id")', '"p"');
215 </script> 215 </script>
216 <script src="../../js/resources/js-test-post.js"></script>
217 </body> 216 </body>
218 </html> 217 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/Attr/access-after-element-destruction.html ('k') | LayoutTests/fast/dom/Attr/parent-adopt-node.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698