summaryrefslogtreecommitdiffstats
path: root/extensions/cookie/test/file_image_inner_inner.html
blob: d24ae0d27b04a6a7636489a69e7c76024af10896 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE HTML>
<html>
<head>
  <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" />
  <script type="text/javascript">
    function runTest() {
      document.cookie = "can2=has2";

      // send a message to our test document, to say we're done loading
      window.parent.opener.postMessage("message", "http://mochi.test:8888");
    }
  </script>
</head>
<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()" />
</body>
</html>