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

Side by Side Diff: LayoutTests/fast/dom/Attr/parent-adopt-node.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> 6 <body>
7 <div id="target"></div> 7 <div id="target"></div>
8 <script> 8 <script>
9 var target = document.getElementById("target"); 9 var target = document.getElementById("target");
10 var attr = target.attributes[0]; 10 var attr = target.attributes[0];
11 var anotherDocument = document.implementation.createDocument("http://www.w3.org/ 1999/xhtml", "", null); 11 var anotherDocument = document.implementation.createDocument("http://www.w3.org/ 1999/xhtml", "", null);
12 anotherDocument.title = "Hello"; 12 anotherDocument.title = "Hello";
13 anotherDocument.adoptNode(target); 13 anotherDocument.adoptNode(target);
14 shouldBe("attr.ownerDocument.title", "anotherDocument.title"); 14 shouldBe("attr.ownerDocument.title", "anotherDocument.title");
15 </script> 15 </script>
16 <script src="../../js/resources/js-test-post.js"></script>
17 </body> 16 </body>
18 </html> 17 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/Attr/change-id-via-attr-node-value.html ('k') | LayoutTests/fast/dom/Attr/script-tests/TEMPLATE.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698