diff options
Diffstat (limited to 'browser/components/places/tests/browser/pageopeningwindow.html')
-rw-r--r-- | browser/components/places/tests/browser/pageopeningwindow.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/browser/components/places/tests/browser/pageopeningwindow.html b/browser/components/places/tests/browser/pageopeningwindow.html new file mode 100644 index 0000000000..855f67626e --- /dev/null +++ b/browser/components/places/tests/browser/pageopeningwindow.html @@ -0,0 +1,10 @@ +<meta charset="UTF-8"> +Hi, I was opened via a <script> +document.write(location.search ? + "popup call from the opened window... uh oh, that shouldn't happen!" : + "bookmarklet, and I will open a new window myself.");</script><br> +<script> + if (!location.search) { + open(location.href + "?donotopen=true", "_blank"); + } +</script> |