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

Unified Diff: chrome/test/data/push_messaging/test.html

Issue 644763005: Change the ServiceWorker scope in the Push Messaging tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/push_messaging/test.html
diff --git a/chrome/test/data/push_messaging/test.html b/chrome/test/data/push_messaging/test.html
index 1a3bd65213324bd34421982620227f3d9f061647..08ff4a52d1075214f80947184d1e855f3ac5ba35 100644
--- a/chrome/test/data/push_messaging/test.html
+++ b/chrome/test/data/push_messaging/test.html
@@ -16,7 +16,7 @@
}
function registerServiceWorker() {
- navigator.serviceWorker.register('service_worker.js').then(function(swRegistration) {
+ navigator.serviceWorker.register('service_worker.js', {scope: './'}).then(function(swRegistration) {
console.log(swRegistration);
sendResultToTest('ok');
}, sendErrorToTest);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698