extensions/cookie/test/file_localhost_inner.html
author jwalden@mit.edu
Fri, 02 May 2008 12:26:47 -0700
changeset 14898 c29d990c4499d37578a6a4c8679a5c9e80f02ccf
parent 12921 7bef01d821b58c1ab71fe39595dfca249a46ac0b
child 39054 b4372055f473cb39d74dbe97e0206dd61ccc2547
permissions -rw-r--r--
Bug 430251 - Update to latest HTML5 and make postMessage dispatch its event asynchronously, as well as dispatch at the window, not the document. r=jst, r=smaug, sr=sicking, a=damons, c=cookie

<!DOCTYPE HTML>
<html>
<head>
  <META HTTP-EQUIV="Set-Cookie" CONTENT="meta=tag">
  <script type="text/javascript">
    document.cookie = "can=has";

    // send a message to our test document, to say we're done loading
    window.opener.postMessage("message", "http://localhost:8888");
  </script>
<body>
<iframe name="frame1" src="http://localhost:8888/tests/extensions/cookie/test/file_domain_inner_inner.html"></iframe>
</body>
</html>