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

Unified Diff: LayoutTests/http/tests/serviceworker/registration-on-insecure-origin.html

Issue 674133004: [ServiceWorker] Introduce the directory restriction of ServiceWorker scope [1/3 blink] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: remove LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/scope-default.html Created 6 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: LayoutTests/http/tests/serviceworker/registration-on-insecure-origin.html
diff --git a/LayoutTests/http/tests/serviceworker/registration-on-insecure-origin.html b/LayoutTests/http/tests/serviceworker/registration-on-insecure-origin.html
index 9bd32f8938b0ca1c90c16686a6310cd1ca0514a3..a8e22d95600df6f0eb3ef55516738d327edd7f0f 100644
--- a/LayoutTests/http/tests/serviceworker/registration-on-insecure-origin.html
+++ b/LayoutTests/http/tests/serviceworker/registration-on-insecure-origin.html
@@ -8,7 +8,7 @@ if (window.location.origin != get_host_info().UNAUTHENTICATED_ORIGIN) {
window.location = get_host_info().UNAUTHENTICATED_ORIGIN + window.location.pathname;
} else {
async_test(function() {
- var scope = '/registration/';
+ var scope = 'resources/registration/';
navigator.serviceWorker.register(
'resources/registration-worker.js',
{scope: scope}

Powered by Google App Engine
This is Rietveld 408576698