Index: LayoutTests/fast/dom/DOMError-constructor-expected.txt |
diff --git a/LayoutTests/fast/dom/DOMError-constructor-expected.txt b/LayoutTests/fast/dom/DOMError-constructor-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6223d09e6b0704f1b1323e7886a1a08daa110078 |
--- /dev/null |
+++ b/LayoutTests/fast/dom/DOMError-constructor-expected.txt |
@@ -0,0 +1,16 @@ |
+Tests that DOMError is constructible. |
+ |
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+ |
+PASS error = new DOMError('NotFoundError', 'This item was not found.') did not throw exception. |
+PASS error.name is "NotFoundError" |
+PASS error.message is "This item was not found." |
+PASS error = new DOMError('IndexSizeError') did not throw exception. |
+PASS error.name is "IndexSizeError" |
+PASS error.message is "" |
+PASS new DOMError() threw exception TypeError: Failed to construct 'DOMError': 1 argument required, but only 0 present.. |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |