summaryrefslogtreecommitdiffstats
path: root/devtools/server/tests/browser/navigate-first.html
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/server/tests/browser/navigate-first.html')
-rw-r--r--devtools/server/tests/browser/navigate-first.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/devtools/server/tests/browser/navigate-first.html b/devtools/server/tests/browser/navigate-first.html
new file mode 100644
index 0000000000..7c04fb36ba
--- /dev/null
+++ b/devtools/server/tests/browser/navigate-first.html
@@ -0,0 +1,15 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+ <meta charset="utf-8">
+</head>
+<body>
+First
+<script>
+"use strict";
+window.onbeforeunload = function(e) {
+ e.returnValue = "?";
+};
+</script>
+</body>
+</html>