2008-05-02 23:26:47 +04:00
|
|
|
<!DOCTYPE HTML>
|
|
|
|
<html>
|
|
|
|
<head>
|
2008-03-12 10:53:50 +03:00
|
|
|
<link rel="stylesheet" type="text/css" media="all" href="http://example.org/tests/extensions/cookie/test/test1.css" />
|
|
|
|
<link rel="stylesheet" type="text/css" media="all" href="http://example.com/tests/extensions/cookie/test/test2.css" />
|
|
|
|
<META HTTP-EQUIV="Set-Cookie" CONTENT="meta2=tag2">
|
|
|
|
<script type="text/javascript">
|
2008-05-02 23:26:47 +04:00
|
|
|
function runTest() {
|
2008-03-12 10:53:50 +03:00
|
|
|
document.cookie = "can2=has2";
|
|
|
|
|
|
|
|
// send a message to our test document, to say we're done loading
|
2010-03-10 06:33:11 +03:00
|
|
|
window.parent.opener.postMessage("message", "http://localhost:8888");
|
2008-03-12 10:53:50 +03:00
|
|
|
}
|
2008-05-02 23:26:47 +04:00
|
|
|
</script>
|
|
|
|
</head>
|
2008-03-12 10:53:50 +03:00
|
|
|
<body>
|
|
|
|
<img src="http://example.org/tests/extensions/cookie/test/image1.png" onload="runTest()" />
|
|
|
|
<img src="http://example.com/tests/extensions/cookie/test/image2.png" onload="runTest()" />
|
2008-05-02 23:26:47 +04:00
|
|
|
</body>
|
|
|
|
</html>
|