| Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-access-control.php
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-access-control.php b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-access-control.php
|
| index 758a2e6293762c48e268cf08765eecf5e4f59a23..28ca451320423273d267645663febccab8e8f5c5 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-access-control.php
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-access-control.php
|
| @@ -104,6 +104,12 @@ foreach ($_FILES as $key => $file) {
|
| 'content' => $content);
|
| }
|
|
|
| +if (isset($_GET['WINDOW'])) {
|
| + header('Content-Type: text/html');
|
| + echo "<!DOCTYPE html><script>window.opener.postMessage('Loaded', '*');</script>";
|
| + exit;
|
| +}
|
| +
|
| header('Content-Type: application/json');
|
| $arr = array('jsonpResult' => 'success',
|
| 'method' => $_SERVER['REQUEST_METHOD'],
|
|
|