| Index: third_party/WebKit/LayoutTests/http/tests/credentialmanager/resources/echo-post.php
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/credentialmanager/resources/echo-post.php b/third_party/WebKit/LayoutTests/http/tests/credentialmanager/resources/echo-post.php
|
| index 907680f45a223b978cf25cb9ebab50e9a4f04ff3..c02093f2fa3dfad0f9c60e47b4ca069cb2cc7931 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/credentialmanager/resources/echo-post.php
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/credentialmanager/resources/echo-post.php
|
| @@ -1,3 +1,9 @@
|
| <?php
|
| + $request_origin_value = $_SERVER["HTTP_ORIGIN"];
|
| + if (!is_null($request_origin_value)) {
|
| + header("Access-Control-Allow-Origin: $request_origin_value");
|
| + header("Access-Control-Allow-Credentials: true");
|
| + header("Access-Control-Allow-Methods: GET,POST,OPTIONS");
|
| + }
|
| echo json_encode($_POST);
|
| ?>
|
|
|