Index: third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/referer.https.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/referer.html b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/referer.https.html |
similarity index 76% |
copy from third_party/WebKit/LayoutTests/http/tests/serviceworker/referer.html |
copy to third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/referer.https.html |
index 8b9105a1c2368f8269b7465f86127c034d44a041..9b3565329eccb1321ba70701192b67db6df08a58 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/referer.html |
+++ b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/referer.https.html |
@@ -1,9 +1,9 @@ |
<!DOCTYPE html> |
<title>Service Worker: check referer of fetch()</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> |
<script> |
async_test(function(t) { |
var SCOPE = 'resources/referer-iframe.html'; |
@@ -22,7 +22,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]); |
}) |
.catch(unreached_rejection(t)); |