summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/js/dom-node-enumerate.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/js/dom-node-enumerate.html b/test/js/dom-node-enumerate.html
new file mode 100644
index 000000000..6cbff2438
--- /dev/null
+++ b/test/js/dom-node-enumerate.html
@@ -0,0 +1,21 @@
+<html>
+<head>
+<title>Node interface enumeration</title>
+<link rel="stylesheet" type="text/css" href="tst.css">
+</head>
+<body>
+<h1>Node interface enumeration</h1>
+
+<script>
+function output(x,y) {
+ document.body.appendChild(document.createTextNode(x));
+ document.body.appendChild(document.createTextNode(" = "));
+ document.body.appendChild(document.createTextNode(y));
+ document.body.appendChild(document.createElement('br'));
+}
+for(var key in Node){
+output(key, Node[key]);
+}
+</script>
+</body>
+</html>