| Index: third_party/WebKit/LayoutTests/http/tests/security/resources/promise-access-control.php
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/security/resources/promise-access-control.php b/third_party/WebKit/LayoutTests/http/tests/security/resources/promise-access-control.php
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..837585cab23ece906bcb8b3681ed4631592d2868
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/security/resources/promise-access-control.php
|
| @@ -0,0 +1,8 @@
|
| +<?php
|
| +$allowOrigin = $_GET['allow'];
|
| +if ($allowOrigin == "true") {
|
| + header("Access-Control-Allow-Origin: *");
|
| +}
|
| +header('Content-Type: application/javascript');
|
| +?>
|
| +new Promise(function(resolve, reject) { reject(42); });
|
|
|