Chromium Code Reviews| Index: content/test/data/prompt_beforeunload_infinite_unload.html |
| diff --git a/content/test/data/prompt_beforeunload_infinite_unload.html b/content/test/data/prompt_beforeunload_infinite_unload.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..6a30cff64d245deac56a01882fb13f368801a535 |
| --- /dev/null |
| +++ b/content/test/data/prompt_beforeunload_infinite_unload.html |
| @@ -0,0 +1,20 @@ |
| +<html> |
| +<head> |
| + <title>Prompting beforeunload, infinite unload</title> |
| +</head> |
| + |
| +<body> |
| +<script> |
| + window.onbeforeunload = function(e) { |
| + return false; |
| + } |
| + window.onunload = function(e) { |
| + while(true){} |
| + } |
| +</script> |
| + |
| +Prompting beforeunload with inifite unload. |
| + |
| +</body> |
| + |
| +</html> |