2008-05-02 12:26:47 -07:00
|
|
|
<!DOCTYPE HTML>
|
|
|
|
<html>
|
|
|
|
<head>
|
2008-03-12 00:53:50 -07: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 12:26:47 -07:00
|
|
|
function runTest() {
|
2008-03-12 00:53:50 -07:00
|
|
|
document.cookie = "can2=has2";
|
|
|
|
|
|
|
|
// send a message to our test document, to say we're done loading
|
2010-03-12 13:53:36 -08:00
|
|
|
window.parent.opener.postMessage("message", "http://mochi.test:8888");
|
2008-03-12 00:53:50 -07:00
|
|
|
}
|
2008-05-02 12:26:47 -07:00
|
|
|
</script>
|
|
|
|
</head>
|
2008-03-12 00:53:50 -07: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 12:26:47 -07:00
|
|
|
</body>
|
|
|
|
</html>
|