blob: e08365122682e22c997f7176d868acf2538b6c16 [file] [log] [blame]
<!-- webkit-test-runner [ useEphemeralSession=true ] -->
<!DOCTYPE html>
<script>
function test() {
if (window.testRunner)
testRunner.notifyDone();
}
if (window.testRunner) {
testRunner.waitUntilDone();
testRunner.dumpAsText();
testRunner.dumpChildFramesAsText();
testRunner.setAlwaysAcceptCookies(false);
}
</script>
<p>Checks that subresources that got redirected do not circumvent third-party cookie rules.<br>This test PASS if you can see the text "FAILED: Cookie not set".</p>
<iframe onload="test" src="http://localhost:8000/cookies/resources/set-cookie-on-redirect.php?step=1"></iframe>