|
1 <!DOCTYPE HTML> |
|
2 <html> |
|
3 <head> |
|
4 <META HTTP-EQUIV="Set-Cookie" CONTENT="meta=tag"> |
|
5 <script type="text/javascript"> |
|
6 function runTest() { |
|
7 document.cookie = "can=has"; |
|
8 |
|
9 // send a message to our test document, to say we're done loading |
|
10 window.opener.postMessage("f_lf_i msg data img", "http://mochi.test:8888"); |
|
11 } |
|
12 </script> |
|
13 </head> |
|
14 <body onload="window.opener.postMessage('f_lf_i msg data page', 'http://mochi.test:8888');"> |
|
15 <img src="http://example.org/tests/extensions/cookie/test/beltzner.jpg" onload="runTest()" /> |
|
16 </body> |
|
17 </html> |