summaryrefslogtreecommitdiffstats
path: root/browser/base/content/test/urlbar/test_wyciwyg_copying.html
diff options
context:
space:
mode:
Diffstat (limited to 'browser/base/content/test/urlbar/test_wyciwyg_copying.html')
-rw-r--r--browser/base/content/test/urlbar/test_wyciwyg_copying.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/browser/base/content/test/urlbar/test_wyciwyg_copying.html b/browser/base/content/test/urlbar/test_wyciwyg_copying.html
new file mode 100644
index 000000000..3a8c3a150
--- /dev/null
+++ b/browser/base/content/test/urlbar/test_wyciwyg_copying.html
@@ -0,0 +1,13 @@
+<html>
+<body>
+<script>
+ function go() {
+ var w = window.open();
+ w.document.open();
+ w.document.write("<html><body>test document</body></html>");
+ w.document.close();
+ }
+</script>
+<button id="btn" onclick="go();">test</button>
+</body>
+</html>