Chromium Code Reviews

Unified Diff: LayoutTests/fast/dom/Element/script-tests/attr-param-typechecking.js

Issue 740223003: Revive tests for Document.createAttributeNS() and Element.setAttributeNodeNS() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: deprecation messages Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: LayoutTests/fast/dom/Element/script-tests/attr-param-typechecking.js
diff --git a/LayoutTests/fast/dom/Element/script-tests/attr-param-typechecking.js b/LayoutTests/fast/dom/Element/script-tests/attr-param-typechecking.js
index 198dc6611a6218c4532e8355888ba4d02d410577..88061fa11f3e1d62b4350b7a6ba658551234789b 100644
--- a/LayoutTests/fast/dom/Element/script-tests/attr-param-typechecking.js
+++ b/LayoutTests/fast/dom/Element/script-tests/attr-param-typechecking.js
@@ -12,3 +12,7 @@ shouldThrow('element.removeAttributeNode("style");');
shouldThrow('element.removeAttributeNode(null);');
shouldThrow('element.removeAttributeNode(undefined);');
shouldThrow('element.removeAttributeNode(new Object);');
+shouldThrow('element.setAttributeNodeNS("style");');
+shouldThrow('element.setAttributeNodeNS(null);');
+shouldThrow('element.setAttributeNodeNS(undefined);');
+shouldThrow('element.setAttributeNodeNS(new Object);');

Powered by Google App Engine