| Index: content/test/data/render_frame_host/beforeunload.html
|
| diff --git a/third_party/WebKit/Source/web/tests/data/send_beacon.html b/content/test/data/render_frame_host/beforeunload.html
|
| similarity index 59%
|
| copy from third_party/WebKit/Source/web/tests/data/send_beacon.html
|
| copy to content/test/data/render_frame_host/beforeunload.html
|
| index 73a107dab91a9a9663230279a7057f9b5bc3e626..656d433b6c757aaed83112e4694ad22b4e8a8b56 100644
|
| --- a/third_party/WebKit/Source/web/tests/data/send_beacon.html
|
| +++ b/content/test/data/render_frame_host/beforeunload.html
|
| @@ -1,10 +1,12 @@
|
| <!DOCTYPE html>
|
| <html>
|
| <head>
|
| -<script>
|
| - navigator.sendBeacon('/reload_post.html', 'bacon');
|
| -</script>
|
| </head>
|
| <body>
|
| </body>
|
| +<script>
|
| +window.onbeforeunload=function(e){
|
| + return 'foo';
|
| +}
|
| +</script>
|
| </html>
|
|
|