summaryrefslogtreecommitdiffstats
path: root/browser/base/content/test/urlbar/test_wyciwyg_copying.html
blob: 3a8c3a150804b9ac9709db727ce6f3b7f0825ec2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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>