| Index: LayoutTests/fast/dom/Node/missing-arguments.html
|
| diff --git a/LayoutTests/fast/dom/Node/missing-arguments.html b/LayoutTests/fast/dom/Node/missing-arguments.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..427f28cb31dbb657d5521bf8467346d4a3aaed5e
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/dom/Node/missing-arguments.html
|
| @@ -0,0 +1,29 @@
|
| +<!doctype html>
|
| +<html>
|
| +<head>
|
| +<script src="../../../resources/js-test.js"></script>
|
| +</head>
|
| +<body>
|
| +<script>
|
| +var documentFragment = document.createDocumentFragment();
|
| +var documentType = document.doctype;
|
| +var element = document.documentElement;
|
| +var characterData = document.createTextNode("");
|
| +[
|
| + "compareDocumentPosition()",
|
| + "contains()",
|
| + "isDefaultNamespace()",
|
| + "isEqualNode()",
|
| + "lookupNamespaceURI()",
|
| + "lookupPrefix()"
|
| +].forEach(function(expr)
|
| +{
|
| + shouldThrow("document." + expr);
|
| + shouldThrow("documentFragment." + expr);
|
| + shouldThrow("documentType." + expr);
|
| + shouldThrow("element." + expr);
|
| + shouldThrow("characterData." + expr);
|
| +});
|
| +</script>
|
| +</body>
|
| +</html>
|
|
|