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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/DOMImplementation-createDocument.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>DOMImplementation.createDocument(namespace, qualifiedName, doctype)</titl e> 3 <title>DOMImplementation.createDocument(namespace, qualifiedName, doctype)</titl e>
4 <link rel=help href="https://dom.spec.whatwg.org/#dom-domimplementation-createdo cument"> 4 <link rel=help href="https://dom.spec.whatwg.org/#dom-domimplementation-createdo cument">
5 <link rel=help href="https://dom.spec.whatwg.org/#dom-document-createelementns"> 5 <link rel=help href="https://dom.spec.whatwg.org/#dom-document-createelementns">
6 <link rel=help href="https://dom.spec.whatwg.org/#dom-node-nodetype"> 6 <link rel=help href="https://dom.spec.whatwg.org/#dom-node-nodetype">
7 <link rel=help href="https://dom.spec.whatwg.org/#dom-document-documentelement"> 7 <link rel=help href="https://dom.spec.whatwg.org/#dom-document-documentelement">
8 <link rel=help href="https://dom.spec.whatwg.org/#dom-document-doctype"> 8 <link rel=help href="https://dom.spec.whatwg.org/#dom-document-doctype">
9 <script src="../../../../resources/testharness.js"></script> 9 <script src="../../../../resources/testharness.js"></script>
10 <script src="../../../../resources/testharnessreport.js"></script> 10 <script src="../../../../resources/testharnessreport.js"></script>
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 test(function() { 146 test(function() {
147 assert_throws(new TypeError(), function() { 147 assert_throws(new TypeError(), function() {
148 document.implementation.createDocument() 148 document.implementation.createDocument()
149 }, "createDocument() should throw") 149 }, "createDocument() should throw")
150 150
151 assert_throws(new TypeError(), function() { 151 assert_throws(new TypeError(), function() {
152 document.implementation.createDocument('') 152 document.implementation.createDocument('')
153 }, "createDocument('') should throw") 153 }, "createDocument('') should throw")
154 }, "createDocument with missing arguments"); 154 }, "createDocument with missing arguments");
155 </script> 155 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698