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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/claim-with-redirect.https.html

Issue 2763123002: Upstream service worker `claim` tests to WPT (Closed)
Patch Set: Persist Chromium-specific version of test Created 3 years, 9 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/external/wpt/service-workers/service-worker/claim-with-redirect.https.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/claim-with-redirect.html b/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/claim-with-redirect.https.html
similarity index 82%
copy from third_party/WebKit/LayoutTests/http/tests/serviceworker/claim-with-redirect.html
copy to third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/claim-with-redirect.https.html
index e9cb8ef9cf3b09fbd32175227df0296616fb0eff..fd89cb9b00a1f0a39c0f7a9103fab2a10ff22526 100644
--- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/claim-with-redirect.html
+++ b/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/claim-with-redirect.https.html
@@ -1,17 +1,17 @@
<!DOCTYPE html>
<title>Service Worker: Claim() when update happens after redirect</title>
-<script src="../resources/get-host-info.js"></script>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-<script src="resources/test-helpers.js"></script>
+<script src="/common/get-host-info.sub.js"></script>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script src="resources/test-helpers.sub.js"></script>
<body>
<script>
var host_info = get_host_info();
-var BASE_URL = host_info['HTTP_ORIGIN'] + base_path();
-var OTHER_BASE_URL = host_info['HTTP_REMOTE_ORIGIN'] + base_path();
+var BASE_URL = host_info['HTTPS_ORIGIN'] + base_path();
+var OTHER_BASE_URL = host_info['HTTPS_REMOTE_ORIGIN'] + base_path();
-var WORKER_URL = OTHER_BASE_URL + 'resources/update-claim-worker.php'
-var SCOPE_URL = OTHER_BASE_URL + 'resources/redirect.php'
+var WORKER_URL = OTHER_BASE_URL + 'resources/update-claim-worker.py'
+var SCOPE_URL = OTHER_BASE_URL + 'resources/redirect.py'
var OTHER_IFRAME_URL = OTHER_BASE_URL +
'resources/claim-with-redirect-iframe.html';

Powered by Google App Engine
This is Rietveld 408576698