PageRenderTime 9ms CodeModel.GetById 2ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/extensions/cookie/test/file_image_inner_inner.html

http://github.com/zpao/v8monkey
HTML | 20 lines | 19 code | 1 blank | 0 comment | 0 complexity | 4f9ddac8ce4c063d02d9b201ce0edebf MD5 | raw file
 1<!DOCTYPE HTML>
 2<html>
 3<head>
 4  <link rel="stylesheet" type="text/css" media="all" href="http://example.org/tests/extensions/cookie/test/test1.css" />
 5  <link rel="stylesheet" type="text/css" media="all" href="http://example.com/tests/extensions/cookie/test/test2.css" />
 6  <META HTTP-EQUIV="Set-Cookie" CONTENT="meta2=tag2">
 7  <script type="text/javascript">
 8    function runTest() {
 9      document.cookie = "can2=has2";
10
11      // send a message to our test document, to say we're done loading
12      window.parent.opener.postMessage("message", "http://mochi.test:8888");
13    }
14  </script>
15</head>
16<body>
17<img src="http://example.org/tests/extensions/cookie/test/image1.png" onload="runTest()" />
18<img src="http://example.com/tests/extensions/cookie/test/image2.png" onload="runTest()" />
19</body>
20</html>