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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/Node-textContent.html

Issue 2012333004: Fix testharness paths in imported/wpt/{dom,html}. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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>Node.textContent</title> 3 <title>Node.textContent</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 <div id="log"></div> 6 <div id="log"></div>
7 <script> 7 <script>
8 // XXX mutation observers? 8 // XXX mutation observers?
9 // XXX Range gravitation? 9 // XXX Range gravitation?
10 10
11 var documents, doctypes; 11 var documents, doctypes;
12 setup(function() { 12 setup(function() {
13 documents = [ 13 documents = [
14 [document, "parser"], 14 [document, "parser"],
15 [document.implementation.createDocument("", "test", null), "createDocument"] , 15 [document.implementation.createDocument("", "test", null), "createDocument"] ,
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 } 256 }
257 doctype.textContent = "b" 257 doctype.textContent = "b"
258 assert_equals(doctype.textContent, null) 258 assert_equals(doctype.textContent, null)
259 assert_equals(doctype.name, props.name, "name should not change") 259 assert_equals(doctype.name, props.name, "name should not change")
260 assert_equals(doctype.publicId, props.publicId, "publicId should not change" ) 260 assert_equals(doctype.publicId, props.publicId, "publicId should not change" )
261 assert_equals(doctype.systemId, props.systemId, "systemId should not change" ) 261 assert_equals(doctype.systemId, props.systemId, "systemId should not change" )
262 }, "For DocumentType created by " + creator + ", setting textContent should do nothing") 262 }, "For DocumentType created by " + creator + ", setting textContent should do nothing")
263 }) 263 })
264 264
265 </script> 265 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698