blob: c562e6d3360bccebd0f8445b4507c575e5416ac6 [file] [log] [blame]
<?php
$shouldReceiveCookies = $_GET["shouldReceiveCookies"];
if(isset($_COOKIE["firstPartyCookie"])) {
echo "let cookieResult = '". ($shouldReceiveCookies ? "PASS " : "FAIL ") . "Did receive firstPartyCookie == " . $_COOKIE["firstPartyCookie"] . "';";
} else {
echo "let cookieResult = '". ($shouldReceiveCookies ? "FAIL " : "PASS ") . "Did not receive cookie named firstPartyCookie';";
}
?>
postMessage(cookieResult);