Index: LayoutTests/fast/dom/Element/attr-param-typechecking-expected.txt |
diff --git a/LayoutTests/fast/dom/Element/attr-param-typechecking-expected.txt b/LayoutTests/fast/dom/Element/attr-param-typechecking-expected.txt |
index 361da77b944cfeb72cde40d8783c21607dc542c3..96abb6fa163b16b4a47911980e31dec0bb3cb4ec 100644 |
--- a/LayoutTests/fast/dom/Element/attr-param-typechecking-expected.txt |
+++ b/LayoutTests/fast/dom/Element/attr-param-typechecking-expected.txt |
@@ -1,3 +1,4 @@ |
+CONSOLE WARNING: 'Element.setAttributeNodeNS' is deprecated and has been removed from DOM4 (http://w3.org/tr/dom). |
This test checks whether passing wrong types to setAttributeNode causes a crash. |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
@@ -11,6 +12,10 @@ PASS element.removeAttributeNode("style"); threw exception TypeMismatchError: Fa |
PASS element.removeAttributeNode(null); threw exception TypeMismatchError: Failed to execute 'removeAttributeNode' on 'Element': The 1st argument provided is either null, or an invalid Attr object.. |
PASS element.removeAttributeNode(undefined); threw exception TypeMismatchError: Failed to execute 'removeAttributeNode' on 'Element': The 1st argument provided is either null, or an invalid Attr object.. |
PASS element.removeAttributeNode(new Object); threw exception TypeMismatchError: Failed to execute 'removeAttributeNode' on 'Element': The 1st argument provided is either null, or an invalid Attr object.. |
+PASS element.setAttributeNodeNS("style"); threw exception TypeMismatchError: Failed to execute 'setAttributeNodeNS' on 'Element': The 1st argument provided is either null, or an invalid Attr object.. |
+PASS element.setAttributeNodeNS(null); threw exception TypeMismatchError: Failed to execute 'setAttributeNodeNS' on 'Element': The 1st argument provided is either null, or an invalid Attr object.. |
+PASS element.setAttributeNodeNS(undefined); threw exception TypeMismatchError: Failed to execute 'setAttributeNodeNS' on 'Element': The 1st argument provided is either null, or an invalid Attr object.. |
+PASS element.setAttributeNodeNS(new Object); threw exception TypeMismatchError: Failed to execute 'setAttributeNodeNS' on 'Element': The 1st argument provided is either null, or an invalid Attr object.. |
PASS successfullyParsed is true |
TEST COMPLETE |