| Index: third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/fetch-mixed-content-iframe.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-mixed-content-iframe.html b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/fetch-mixed-content-iframe.html
|
| similarity index 86%
|
| copy from third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-mixed-content-iframe.html
|
| copy to third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/fetch-mixed-content-iframe.html
|
| index d6c600fc7d830cdb1e5522706216010965ac36f8..961fd2ab6993b558d3a519a73fecc8dedfe6ded4 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/resources/fetch-mixed-content-iframe.html
|
| +++ b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/resources/fetch-mixed-content-iframe.html
|
| @@ -1,6 +1,6 @@
|
| <!DOCTYPE html>
|
| -<script src="../../resources/get-host-info.js?pipe=sub"></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 params = get_query_params(location.href);
|
| var SCOPE = 'fetch-mixed-content-iframe-inscope-to-' + params['target'] + '.html';
|
| @@ -29,7 +29,7 @@ navigator.serviceWorker.getRegistration(SCOPE)
|
| })
|
| .catch(function(reason) {
|
| window.parent.postMessage({results: 'FAILURE: ' + reason.message},
|
| - host_info['HTTP_ORIGIN']);
|
| + host_info['HTTPS_ORIGIN']);
|
| });
|
|
|
| function on_state_change(event) {
|
| @@ -47,11 +47,11 @@ function on_message(e) {
|
| return registration.unregister();
|
| })
|
| .then(function() {
|
| - window.parent.postMessage(e.data, host_info['HTTP_ORIGIN']);
|
| + window.parent.postMessage(e.data, host_info['HTTPS_ORIGIN']);
|
| })
|
| .catch(function(reason) {
|
| window.parent.postMessage({results: 'FAILURE: ' + reason.message},
|
| - host_info['HTTP_ORIGIN']);
|
| + host_info['HTTPS_ORIGIN']);
|
| });
|
| }
|
|
|
|
|