| Index: third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/fetch-response-xhr-iframe.https.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-response-xhr-iframe.html b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/fetch-response-xhr-iframe.https.html
|
| similarity index 73%
|
| copy from third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-response-xhr-iframe.html
|
| copy to third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/fetch-response-xhr-iframe.https.html
|
| index b0aa582a3b98f468126dbec886d494fd9fe76bdf..3391381e38af1cf3ed969fcfa4741a78fb3ab5a7 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-response-xhr-iframe.html
|
| +++ b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/fetch-response-xhr-iframe.https.html
|
| @@ -1,6 +1,7 @@
|
| -<script src="../../resources/testharness.js"></script>
|
| -<script src="test-helpers.js"></script>
|
| +<script src="../resources/get-host-info.sub.js"></script>
|
| +<script src="test-helpers.sub.js?pipe=sub"></script>
|
| <script>
|
| +var host_info = get_host_info();
|
|
|
| function xhr_send(method, data) {
|
| return new Promise(function(resolve, reject) {
|
| @@ -20,7 +21,8 @@ function xhr_send(method, data) {
|
| function coalesce_headers_test() {
|
| return xhr_send('POST', 'test string')
|
| .then(function(xhr) {
|
| - assert_equals(xhr.getResponseHeader('foo'), 'foo, bar');
|
| + window.parent.postMessage({results: xhr.getResponseHeader('foo')},
|
| + host_info['HTTPS_ORIGIN']);
|
| });
|
| }
|
|
|
|
|