| Index: content/test/data/onunload_cookie.html
|
| diff --git a/content/test/data/onunload_cookie.html b/content/test/data/onunload_cookie.html
|
| index 0a7de8d5263bd1450f8eb79c68e01138affca4b9..a40650a7bf0e0017c9d489bb3f6822dc1f27e176 100644
|
| --- a/content/test/data/onunload_cookie.html
|
| +++ b/content/test/data/onunload_cookie.html
|
| @@ -2,10 +2,10 @@
|
| <head>
|
| <title>Loading...</title>
|
| </head>
|
| - <body onload="attachUnloadListener()">
|
| + <body onload="onLoad()" onunload="onUnload()">
|
| <script>
|
| - function attachUnloadListener() {
|
| - window.addEventListener('unload', onUnload, false);
|
| + function onLoad() {
|
| + window.top.postMessage('message', '*');
|
| document.title = "set cookie on unload";
|
| }
|
|
|
|
|