| Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/DOMImplementation-createDocument.html
|
| diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/DOMImplementation-createDocument.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/DOMImplementation-createDocument.html
|
| index 3a8888829615749d140530f05de3bdc30700c37e..29e347c678443a1a575a10ab0fb72a3f151ca8d1 100644
|
| --- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/DOMImplementation-createDocument.html
|
| +++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/dom/nodes/DOMImplementation-createDocument.html
|
| @@ -120,4 +120,14 @@ test(function() {
|
| }
|
| })
|
| })
|
| +
|
| +test(function() {
|
| + assert_throws(new TypeError(), function() {
|
| + document.implementation.createDocument()
|
| + }, "createDocument() should throw")
|
| +
|
| + assert_throws(new TypeError(), function() {
|
| + document.implementation.createDocument('')
|
| + }, "createDocument('') should throw")
|
| +}, "createDocument with missing arguments");
|
| </script>
|
|
|