diff options
author | ojan@google.com <ojan@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-11 23:03:32 +0000 |
---|---|---|
committer | ojan@google.com <ojan@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-11 23:03:32 +0000 |
commit | 51afbeda5420a5ffe4b2481181450388ea019975 (patch) | |
tree | db6effb2b158b75f6af7995a8aab57e7a30efa7c /chrome/test/data | |
parent | 0a0ed3fed8087979a870721eced93aeca5ddbe28 (diff) | |
download | chromium_src-51afbeda5420a5ffe4b2481181450388ea019975.zip chromium_src-51afbeda5420a5ffe4b2481181450388ea019975.tar.gz chromium_src-51afbeda5420a5ffe4b2481181450388ea019975.tar.bz2 |
Move to using data URLs for unload tests and generally
cleanup the unload tests in preparation for adding
in tests for beforeunload.
Review URL: http://codereview.chromium.org/14017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6839 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/data')
-rw-r--r-- | chrome/test/data/unload/beforeunloadlooping.html | 12 | ||||
-rw-r--r-- | chrome/test/data/unload/nolisteners.html | 7 | ||||
-rw-r--r-- | chrome/test/data/unload/unload.html | 11 | ||||
-rw-r--r-- | chrome/test/data/unload/unloadlooping.html | 12 | ||||
-rw-r--r-- | chrome/test/data/unload/unloadloopingalert.html | 13 | ||||
-rw-r--r-- | chrome/test/data/unload/unloadloopingtwosecondsalert.html | 14 |
6 files changed, 0 insertions, 69 deletions
diff --git a/chrome/test/data/unload/beforeunloadlooping.html b/chrome/test/data/unload/beforeunloadlooping.html deleted file mode 100644 index ca82c87..0000000 --- a/chrome/test/data/unload/beforeunloadlooping.html +++ /dev/null @@ -1,12 +0,0 @@ -<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 deleted file mode 100644 index ea59143..0000000 --- a/chrome/test/data/unload/nolisteners.html +++ /dev/null @@ -1,7 +0,0 @@ -<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 deleted file mode 100644 index eb34941..0000000 --- a/chrome/test/data/unload/unload.html +++ /dev/null @@ -1,11 +0,0 @@ -<html> -<head> -<title>unload</title> -</head> -<body> -<script> -window.onunload = function(e) { -} -</script> -</body> -</html>
\ No newline at end of file diff --git a/chrome/test/data/unload/unloadlooping.html b/chrome/test/data/unload/unloadlooping.html deleted file mode 100644 index 443b99a..0000000 --- a/chrome/test/data/unload/unloadlooping.html +++ /dev/null @@ -1,12 +0,0 @@ -<html> -<head> -<title>unloadlooping</title> -</head> -<body> -<script> -window.onunload = function(e) { - while(true) {} -} -</script> -</body> -</html>
\ No newline at end of file diff --git a/chrome/test/data/unload/unloadloopingalert.html b/chrome/test/data/unload/unloadloopingalert.html deleted file mode 100644 index c43e295..0000000 --- a/chrome/test/data/unload/unloadloopingalert.html +++ /dev/null @@ -1,13 +0,0 @@ -<html> -<head> -<title>unloadloopingalert</title> -</head> -<body> -<script> -window.onunload = function(e) { - while(true) {} - alert('foo'); -} -</script> -</body> -</html>
\ No newline at end of file diff --git a/chrome/test/data/unload/unloadloopingtwosecondsalert.html b/chrome/test/data/unload/unloadloopingtwosecondsalert.html deleted file mode 100644 index 8a1aa36..0000000 --- a/chrome/test/data/unload/unloadloopingtwosecondsalert.html +++ /dev/null @@ -1,14 +0,0 @@ -<html> -<head> -<title>unloadloopingtwosecondsalert</title> -</head> -<body> -<script> -window.onunload = function(e) { - var start = new Date().getTime(); - while(new Date().getTime() - start < 2000) {} - alert('foo'); -} -</script> -</body> -</html>
\ No newline at end of file |