Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / xmlhttprequest / resources / cross-origin-set-cookies.php
blobcc38f4f35a61a1e1b235d63ecfa5feb6897615a3
1 <?php
2 $age_string = "";
3 if ($_GET['clear']) {
4 $age_string = "expires=Thu, 19 Mar 1982 11:22:11 GMT";
6 header("Set-Cookie: WK-xhr-cookie-storage=MySpecialValue;$age_string");
7 header("Cache-Control: no-store");
8 header("Last-Modified: Thu, 19 Mar 2009 11:22:11 GMT");
9 header("Access-Control-Allow-Origin: http://127.0.0.1:8000");
10 header("Access-Control-Allow-Credentials: true");
12 log('PASS: Loaded');