blob: e2d807ab43592475f96a53909a50b9d1363f0c61 [file] [log] [blame]
<html>
<head>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
document.cookie = "secret=PASS";
function log(msg) {
var line = document.createElement("div");
line.appendChild(document.createTextNode(msg));
document.getElementById("console").appendChild(line);
}
function runTest() {
log("Running test.");
frames[1].document.open();
log(frames[1].document.cookie);
log("Test complete.");
if (window.testRunner)
testRunner.notifyDone();
}
</script>
<base href="http://localhost:8000/security/cookies/resources/set-a-cookie.html">
</head>
<body>
<iframe
onload="runTest()"
src="http://localhost:8000/security/cookies/resources/set-a-cookie.html">
</iframe>
<iframe></iframe>
<div id="console"></div>
</body>
</html>