Index: LayoutTests/fast/dom/DOMImplementation/createDocument-doctype-err-expected.txt |
diff --git a/LayoutTests/fast/dom/DOMImplementation/createDocument-doctype-err-expected.txt b/LayoutTests/fast/dom/DOMImplementation/createDocument-doctype-err-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..53b758cdb720cb4e3c6af9bb451ad0f05a4f3923 |
--- /dev/null |
+++ b/LayoutTests/fast/dom/DOMImplementation/createDocument-doctype-err-expected.txt |
@@ -0,0 +1,12 @@ |
+PASS doctype is an instance of DocumentType |
+PASS document.implementation.createDocument(null, null, doctype) did not throw exception. |
+PASS document.implementation.createDocument(null, null, undefined) did not throw exception. |
+PASS document.implementation.createDocument(null, null, null) did not throw exception. |
+PASS document.implementation.createDocument(null, null, false) threw exception TypeError: Failed to execute 'createDocument' on 'DOMImplementation': parameter 3 is not of type 'DocumentType'.. |
+PASS document.implementation.createDocument(null, null, 0) threw exception TypeError: Failed to execute 'createDocument' on 'DOMImplementation': parameter 3 is not of type 'DocumentType'.. |
+PASS document.implementation.createDocument(null, null, '') threw exception TypeError: Failed to execute 'createDocument' on 'DOMImplementation': parameter 3 is not of type 'DocumentType'.. |
+PASS document.implementation.createDocument(null, null, {}) threw exception TypeError: Failed to execute 'createDocument' on 'DOMImplementation': parameter 3 is not of type 'DocumentType'.. |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |