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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/Element-insertAdjacentText.html

Issue 1988983002: Move the dom directory from web-platform-tests/ to wpt/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months 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
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <meta charset=utf-8> 2 <meta charset=utf-8>
3 <title></title> 3 <title></title>
4 <script src=../../../../resources/testharness.js></script> 4 <script src=../../../../resources/testharness.js></script>
5 <script src=../../../../resources/testharnessreport.js></script> 5 <script src=../../../../resources/testharnessreport.js></script>
6 <body style="visibility:hidden"> 6 <body style="visibility:hidden">
7 <div id="target"></div> 7 <div id="target"></div>
8 <div id="parent"><span id=target2></span></div> 8 <div id="parent"><span id=target2></span></div>
9 <div id="log" style="visibility:visible"></div> 9 <div id="log" style="visibility:visible"></div>
10 </body> 10 </body>
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 67
68 docElement.insertAdjacentText("beforeend", "test3"); 68 docElement.insertAdjacentText("beforeend", "test3");
69 assert_equals(docElement.lastChild.nodeValue, "test3"); 69 assert_equals(docElement.lastChild.nodeValue, "test3");
70 70
71 assert_throws("HierarchyRequestError", function() { 71 assert_throws("HierarchyRequestError", function() {
72 docElement.insertAdjacentText("afterend", "test4") 72 docElement.insertAdjacentText("afterend", "test4")
73 }); 73 });
74 }, "Adding more than one child to document should cause a HierarchyRequestError exception") 74 }, "Adding more than one child to document should cause a HierarchyRequestError exception")
75 75
76 </script> 76 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698