summaryrefslogtreecommitdiffstats
path: root/dom/base/test/file_setname.html
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/test/file_setname.html')
-rw-r--r--dom/base/test/file_setname.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/dom/base/test/file_setname.html b/dom/base/test/file_setname.html
new file mode 100644
index 0000000000..0830feb53a
--- /dev/null
+++ b/dom/base/test/file_setname.html
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <script>
+ window.name = location.search.substring(1);
+ </script>
+ </head>
+</html>