| Index: LayoutTests/fast/dom/Document/missing-arguments.html
|
| diff --git a/LayoutTests/fast/dom/Document/missing-arguments.html b/LayoutTests/fast/dom/Document/missing-arguments.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b301feedcc953071e98f940e521e5704380e20c9
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/dom/Document/missing-arguments.html
|
| @@ -0,0 +1,30 @@
|
| +<!doctype html>
|
| +<html>
|
| +<head>
|
| +<script src="../../../resources/js-test.js"></script>
|
| +</head>
|
| +<body>
|
| +<script>
|
| +[
|
| + "adoptNode()",
|
| + "createComment()",
|
| + "createElement()",
|
| + "createElementNS('http://www.w3.org/2000/svg')",
|
| + "createElementNS()",
|
| + "createEvent()",
|
| + "createProcessingInstruction('xml')",
|
| + "createProcessingInstruction()",
|
| + "createTextNode()",
|
| + "getElementById()",
|
| + "getElementsByClassName()",
|
| + "getElementsByTagName()",
|
| + "getElementsByTagNameNS('http://www.w3.org/2000/svg')",
|
| + "getElementsByTagNameNS()",
|
| + "importNode()"
|
| +].forEach(function(expr)
|
| +{
|
| + shouldThrow("document." + expr);
|
| +});
|
| +</script>
|
| +</body>
|
| +</html>
|
|
|