<html> | |
<body> | |
<pre> | |
<script> | |
if (window.testRunner) | |
testRunner.dumpAsText(); | |
document.cookie = "secret=PASS"; | |
document.write(document.URL + "\n"); | |
document.URL = "http://localhost:8000/"; | |
// Should match previous line. | |
document.write(document.URL + "\n"); | |
document.write(document.cookie + "\n"); | |
</script> | |
</pre> | |
</body> | |
</html> |