summaryrefslogtreecommitdiffstats
path: root/toolkit/components/startup/tests/browser/beforeunload.html
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/startup/tests/browser/beforeunload.html')
-rw-r--r--toolkit/components/startup/tests/browser/beforeunload.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/toolkit/components/startup/tests/browser/beforeunload.html b/toolkit/components/startup/tests/browser/beforeunload.html
new file mode 100644
index 0000000000..81fa1b57bc
--- /dev/null
+++ b/toolkit/components/startup/tests/browser/beforeunload.html
@@ -0,0 +1,10 @@
+<html>
+ <script>
+ window.onbeforeunload = function(event) {
+ event.returnValue = "Test beforeunload handler";
+ };
+ </script>
+ <body>
+ Test page
+ </body>
+</html>