Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Side by Side Diff: LayoutTests/http/tests/xmlhttprequest/resources/access-control-preflight-request-must-not-contain-cookie.php

Issue 312653002: ResourceLoaderOptions also must be updated by updateRequestForAccessControl() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed #5 Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <?php
2 if (isset($_SERVER["HTTP_ACCESS_CONTROL_REQUEST_METHOD"]) &&
3 isset($_COOKIE["foo"])) {
4 header("HTTP/1.1 400 Bad Request");
5 } else {
6 header("Cache-Control: no-store");
7 header("Access-Control-Allow-Origin: http://127.0.0.1:8000");
8 header("Access-Control-Allow-Credentials: true");
9 header("Access-Control-Allow-Headers: X-Proprietary-Header");
10 header("Connection: close");
11 echo $_COOKIE["foo"];
12 }
13 ?>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698