Index: LayoutTests/fast/dom/Element/missing-arguments-expected.txt |
diff --git a/LayoutTests/fast/dom/Element/missing-arguments-expected.txt b/LayoutTests/fast/dom/Element/missing-arguments-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..efa445950de8a0d5b34251138a1da3578e9c0906 |
--- /dev/null |
+++ b/LayoutTests/fast/dom/Element/missing-arguments-expected.txt |
@@ -0,0 +1,20 @@ |
+PASS element.getAttribute() threw exception TypeError: Failed to execute 'getAttribute' on 'Element': 1 argument required, but only 0 present.. |
+PASS element.getAttributeNS() threw exception TypeError: Failed to execute 'getAttributeNS' on 'Element': 2 arguments required, but only 0 present.. |
+PASS element.getAttributeNS('http://example.com/') threw exception TypeError: Failed to execute 'getAttributeNS' on 'Element': 2 arguments required, but only 1 present.. |
+PASS element.getElementsByClassName() threw exception TypeError: Failed to execute 'getElementsByClassName' on 'Element': 1 argument required, but only 0 present.. |
+PASS element.getElementsByTagName() threw exception TypeError: Failed to execute 'getElementsByTagName' on 'Element': 1 argument required, but only 0 present.. |
+PASS element.getElementsByTagNameNS() threw exception TypeError: Failed to execute 'getElementsByTagNameNS' on 'Element': 2 arguments required, but only 0 present.. |
+PASS element.getElementsByTagNameNS('http://example.com/') threw exception TypeError: Failed to execute 'getElementsByTagNameNS' on 'Element': 2 arguments required, but only 1 present.. |
+PASS element.hasAttributeNS() threw exception TypeError: Failed to execute 'hasAttributeNS' on 'Element': 2 arguments required, but only 0 present.. |
+PASS element.hasAttributeNS('http://example.com/') threw exception TypeError: Failed to execute 'hasAttributeNS' on 'Element': 2 arguments required, but only 1 present.. |
+PASS element.removeAttribute() threw exception TypeError: Failed to execute 'removeAttribute' on 'Element': 1 argument required, but only 0 present.. |
+PASS element.removeAttributeNS() threw exception TypeError: Failed to execute 'removeAttributeNS' on 'Element': 2 arguments required, but only 0 present.. |
+PASS element.removeAttributeNS('http://example.com/') threw exception TypeError: Failed to execute 'removeAttributeNS' on 'Element': 2 arguments required, but only 1 present.. |
+PASS element.setAttribute() threw exception TypeError: Failed to execute 'setAttribute' on 'Element': 1 argument required, but only 0 present.. |
+PASS element.setAttributeNS() threw exception TypeError: Failed to execute 'setAttributeNS' on 'Element': 3 arguments required, but only 0 present.. |
+PASS element.setAttributeNS('http://example.com/') threw exception TypeError: Failed to execute 'setAttributeNS' on 'Element': 3 arguments required, but only 1 present.. |
+PASS element.setAttributeNS('http://example.com/', 'example') threw exception TypeError: Failed to execute 'setAttributeNS' on 'Element': 3 arguments required, but only 2 present.. |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |