summaryrefslogtreecommitdiffstats
path: root/chrome/test/data
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/data')
-rw-r--r--chrome/test/data/unload/beforeunloadlooping.html12
-rw-r--r--chrome/test/data/unload/nolisteners.html8
-rw-r--r--chrome/test/data/unload/unload.html3
-rw-r--r--chrome/test/data/unload/unloadlooping.html3
-rw-r--r--chrome/test/data/unload/unloadloopingalert.html3
-rw-r--r--chrome/test/data/unload/unloadloopingtwosecondsalert.html3
6 files changed, 31 insertions, 1 deletions
diff --git a/chrome/test/data/unload/beforeunloadlooping.html b/chrome/test/data/unload/beforeunloadlooping.html
new file mode 100644
index 0000000..ca82c87
--- /dev/null
+++ b/chrome/test/data/unload/beforeunloadlooping.html
@@ -0,0 +1,12 @@
+<html>
+<head>
+<title>beforeunloadlooping</title>
+</head>
+<body>
+<script>
+window.onbeforeunload = function(e) {
+ while(true) {}
+}
+</script>
+</body>
+</html> \ No newline at end of file
diff --git a/chrome/test/data/unload/nolisteners.html b/chrome/test/data/unload/nolisteners.html
index 42682b4..ea59143 100644
--- a/chrome/test/data/unload/nolisteners.html
+++ b/chrome/test/data/unload/nolisteners.html
@@ -1 +1,7 @@
-<html><body></body></html> \ No newline at end of file
+<html>
+<head>
+<title>nolisteners</title>
+</head>
+<body>
+</body>
+</html> \ No newline at end of file
diff --git a/chrome/test/data/unload/unload.html b/chrome/test/data/unload/unload.html
index 4ce7f78..eb34941 100644
--- a/chrome/test/data/unload/unload.html
+++ b/chrome/test/data/unload/unload.html
@@ -1,4 +1,7 @@
<html>
+<head>
+<title>unload</title>
+</head>
<body>
<script>
window.onunload = function(e) {
diff --git a/chrome/test/data/unload/unloadlooping.html b/chrome/test/data/unload/unloadlooping.html
index 134ce30..443b99a 100644
--- a/chrome/test/data/unload/unloadlooping.html
+++ b/chrome/test/data/unload/unloadlooping.html
@@ -1,4 +1,7 @@
<html>
+<head>
+<title>unloadlooping</title>
+</head>
<body>
<script>
window.onunload = function(e) {
diff --git a/chrome/test/data/unload/unloadloopingalert.html b/chrome/test/data/unload/unloadloopingalert.html
index dacd9b5..c43e295 100644
--- a/chrome/test/data/unload/unloadloopingalert.html
+++ b/chrome/test/data/unload/unloadloopingalert.html
@@ -1,4 +1,7 @@
<html>
+<head>
+<title>unloadloopingalert</title>
+</head>
<body>
<script>
window.onunload = function(e) {
diff --git a/chrome/test/data/unload/unloadloopingtwosecondsalert.html b/chrome/test/data/unload/unloadloopingtwosecondsalert.html
index ec796f9..8a1aa36 100644
--- a/chrome/test/data/unload/unloadloopingtwosecondsalert.html
+++ b/chrome/test/data/unload/unloadloopingtwosecondsalert.html
@@ -1,4 +1,7 @@
<html>
+<head>
+<title>unloadloopingtwosecondsalert</title>
+</head>
<body>
<script>
window.onunload = function(e) {