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

Side by Side Diff: LayoutTests/fast/dom/allowed-children.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 <script> 6 <script>
7 description("This test ensures that we can attach various DOMs to the document." ); 7 description("This test ensures that we can attach various DOMs to the document." );
8 8
9 var cases = [ 9 var cases = [
10 { 10 {
11 "markup": "<Long />", 11 "markup": "<Long />",
12 "tagName": "'Long'", 12 "tagName": "'Long'",
13 "serialization": "'<Long/>'" 13 "serialization": "'<Long/>'"
(...skipping 16 matching lines...) Expand all
30 var doc = document.implementation.createDocument("", "", null); 30 var doc = document.implementation.createDocument("", "", null);
31 var doc2 = (new DOMParser()).parseFromString(cases[i].markup, "text/xml"); 31 var doc2 = (new DOMParser()).parseFromString(cases[i].markup, "text/xml");
32 var u = doc.importNode(doc2.childNodes[0], true); 32 var u = doc.importNode(doc2.childNodes[0], true);
33 shouldBe("u.tagName", cases[i].tagName); 33 shouldBe("u.tagName", cases[i].tagName);
34 doc.appendChild(u); 34 doc.appendChild(u);
35 shouldBe("(new XMLSerializer()).serializeToString(doc)", cases[i].serializat ion); 35 shouldBe("(new XMLSerializer()).serializeToString(doc)", cases[i].serializat ion);
36 } 36 }
37 </script> 37 </script>
38 </body> 38 </body>
39 </html> 39 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/adopt-node-prevented.html ('k') | LayoutTests/fast/dom/anchor-without-content.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698