Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(314)

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/referer.https.html

Issue 2415873002: Import w3c tests for the service workers (Closed)
Patch Set: Rebase Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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));

Powered by Google App Engine
This is Rietveld 408576698