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

Side by Side Diff: LayoutTests/fast/dom/dom-constructors.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 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../js/resources/js-test-pre.js"></script> 3 <script src="../js/resources/js-test-pre.js"></script>
4 </head> 4 </head>
5 <body> 5 <body>
6 <div id="element" name="element_name"></div> 6 <div id="element" name="element_name"></div>
7 <script> 7 <script>
8 description('This test checks that all but a handful of dom constructors throw e xceptions, and the rest return reasonable objects. It also tests that those cons tructors have higher precedence than a document element with the same ID or name .'); 8 description('This test checks that all but a handful of dom constructors throw e xceptions, and the rest return reasonable objects. It also tests that those cons tructors have higher precedence than a document element with the same ID or name .');
9 9
10 var element = document.getElementById("element"); 10 var element = document.getElementById("element");
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 element.id = obj; 205 element.id = obj;
206 shouldBe("TryAllocate('" + obj + "')", 206 shouldBe("TryAllocate('" + obj + "')",
207 "'[object " + objects_different_constructor[obj] + "]'"); 207 "'[object " + objects_different_constructor[obj] + "]'");
208 element.id = "element"; 208 element.id = "element";
209 element.name = obj; 209 element.name = obj;
210 shouldBe("TryAllocate('" + obj + "')", 210 shouldBe("TryAllocate('" + obj + "')",
211 "'[object " + objects_different_constructor[obj] + "]'"); 211 "'[object " + objects_different_constructor[obj] + "]'");
212 element.name = "element_name"; 212 element.name = "element_name";
213 } 213 }
214 </script> 214 </script>
215 <script src="../js/resources/js-test-post.js"></script>
216 </body> 215 </body>
217 </html> 216 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/documentmarker-set-active.html ('k') | LayoutTests/fast/dom/dom-parse-serialize-xmldecl.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698