зеркало из https://github.com/mozilla/gecko-dev.git
18 строки
560 B
HTML
18 строки
560 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<META HTTP-EQUIV="Set-Cookie" CONTENT="meta=tag">
|
|
<script type="text/javascript">
|
|
function runTest() {
|
|
document.cookie = "can=has";
|
|
|
|
// send a message to our test document, to say we're done loading
|
|
window.opener.postMessage("f_lf_i msg data img", "http://mochi.test:8888");
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload="window.opener.postMessage('f_lf_i msg data page', 'http://mochi.test:8888');">
|
|
<img src="http://example.org/tests/extensions/cookie/test/beltzner.jpg" onload="runTest()" />
|
|
</body>
|
|
</html>
|