Chromium Code Reviews| Index: chrome/test/data/beforeunload.html |
| diff --git a/chrome/test/data/beforeunload.html b/chrome/test/data/beforeunload.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..4abf52afc7ee9841e6a21faf8384a72a8c240c5a |
| --- /dev/null |
| +++ b/chrome/test/data/beforeunload.html |
| @@ -0,0 +1,11 @@ |
| +<html> |
| + <head> |
| + <title>Loading...</title> |
| + </head> |
| + <body onload="attachUnloadListener()"> |
| + <script> |
| + window.onbeforeunload = function(e) { return 'foo'; }; |
| + </script> |
| + <p>Navigate to another page to trigger beforeunload handler.</p> |
| + </body> |
| +</html> |