summaryrefslogtreecommitdiff
path: root/extensions/cookie/test/file_loadflags_inner.html
blob: 5a7a6ccc13d2b9f8e9d1e2b3cd3dce8e55c1bf5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!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>