| Index: LayoutTests/http/tests/security/resources/cors-script.php
|
| diff --git a/LayoutTests/http/tests/security/resources/cors-script.php b/LayoutTests/http/tests/security/resources/cors-script.php
|
| index c9b1a37d4f3463d9a2c2e3041d3a975465dbde74..1023855ad8bce0394468b3230c289470d31a8b5f 100644
|
| --- a/LayoutTests/http/tests/security/resources/cors-script.php
|
| +++ b/LayoutTests/http/tests/security/resources/cors-script.php
|
| @@ -7,6 +7,9 @@ if (strtolower($_GET["credentials"]) == "true") {
|
| }
|
| header("Content-Type: application/javascript");
|
| $value = $_GET['value'];
|
| +if ($_SERVER['HTTP_ORIGIN'] && $_GET['value_cors']) {
|
| + $value = $_GET['value_cors'];
|
| +}
|
| if ($value)
|
| echo "result = \"" . $value . "\";";
|
| else if (strtolower($_GET["fail"]) == "true")
|
|
|