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); |