| Index: third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-canvas-tainting.https.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/fetch-canvas-tainting.html b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-canvas-tainting.https.html
|
| similarity index 77%
|
| copy from third_party/WebKit/LayoutTests/http/tests/serviceworker/fetch-canvas-tainting.html
|
| copy to third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-canvas-tainting.https.html
|
| index d3aa5fadef9396adc9686ae0cc259a5b66096490..bb75473926fb35c870b079b894081a42119f0b29 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/fetch-canvas-tainting.html
|
| +++ b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/fetch-canvas-tainting.https.html
|
| @@ -1,9 +1,9 @@
|
| <!DOCTYPE html>
|
| <title>Service Worker: canvas tainting of the fetched image</title>
|
| -<script src="../resources/testharness.js"></script>
|
| -<script src="../resources/testharnessreport.js"></script>
|
| -<script src="../resources/get-host-info.js?pipe=sub"></script>
|
| -<script src="resources/test-helpers.js"></script>
|
| +<script src="/resources/testharness.js"></script>
|
| +<script src="/resources/testharnessreport.js"></script>
|
| +<script src="resources/get-host-info.sub.js"></script>
|
| +<script src="resources/test-helpers.sub.js?pipe=sub"></script>
|
| <body>
|
| <script>
|
| async_test(function(t) {
|
| @@ -11,7 +11,7 @@ async_test(function(t) {
|
| var SCRIPT = 'resources/fetch-rewrite-worker.js';
|
| var host_info = get_host_info();
|
|
|
| - login(t, host_info.HTTP_ORIGIN, host_info.HTTP_REMOTE_ORIGIN)
|
| + login_https(t)
|
| .then(function() {
|
| return service_worker_unregister_and_register(t, SCRIPT, SCOPE);
|
| })
|
| @@ -28,7 +28,7 @@ async_test(function(t) {
|
| service_worker_unregister_and_done(t, SCOPE);
|
| });
|
| frame.contentWindow.postMessage({},
|
| - host_info['HTTP_ORIGIN'],
|
| + host_info['HTTPS_ORIGIN'],
|
| [channel.port2]);
|
| });
|
| })
|
|
|