summaryrefslogtreecommitdiff
path: root/test/js/dom-doc-location.html
diff options
context:
space:
mode:
Diffstat (limited to 'test/js/dom-doc-location.html')
-rw-r--r--test/js/dom-doc-location.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/js/dom-doc-location.html b/test/js/dom-doc-location.html
new file mode 100644
index 000000000..a41c53c31
--- /dev/null
+++ b/test/js/dom-doc-location.html
@@ -0,0 +1,10 @@
+<html>
+<head>
+<title>Document Location</title>
+<link rel="stylesheet" type="text/css" href="tst.css">
+</head>
+<body>
+<h1>Document Location</h1>
+<p><b>document.location.href:</b> <script>document.write(document.location.href);</script></p>
+</body>
+</html>