Index: LayoutTests/fast/dom/NamedNodeMap-missing-arguments.html |
diff --git a/LayoutTests/fast/dom/NamedNodeMap-missing-arguments.html b/LayoutTests/fast/dom/NamedNodeMap-missing-arguments.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..286efe3a47009c5412570c45e728fbb837aaef2f |
--- /dev/null |
+++ b/LayoutTests/fast/dom/NamedNodeMap-missing-arguments.html |
@@ -0,0 +1,18 @@ |
+<!doctype html> |
+<html> |
+<head> |
+<script src="../../resources/js-test.js"></script> |
+</head> |
+<body> |
+<script> |
+[ |
+ "setNamedItem()", |
+ "setNamedItemNS()", |
+].forEach(function(expr) |
+{ |
+ window.attributes = document.body.attributes; |
+ shouldThrow("attributes." + expr); |
+}); |
+</script> |
+</body> |
+</html> |