Index: LayoutTests/svg/dom/document-createEvent-mandatory-arg-expected.txt |
diff --git a/LayoutTests/svg/dom/document-createEvent-mandatory-arg-expected.txt b/LayoutTests/svg/dom/document-createEvent-mandatory-arg-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4794d8c33e0e93c7a7658bae7b5acb0d78bd060e |
--- /dev/null |
+++ b/LayoutTests/svg/dom/document-createEvent-mandatory-arg-expected.txt |
@@ -0,0 +1,13 @@ |
+Tests that Document.createEvent() throws for SVG Documents when given no argument. |
+ |
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+ |
+PASS svgDoc.__proto__ is XMLDocument.prototype |
+PASS svgDoc.__proto__.__proto__ is Document.prototype |
+PASS svgDoc.createEvent() threw exception TypeError: Failed to execute 'createEvent' on 'Document': 1 argument required, but only 0 present.. |
+PASS svgDoc.createEvent('MouseEvents') did not throw exception. |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |