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 000000000..93ddd5f14
--- /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>