| 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 372f3e1c7978121d103d6c8827025794cb4c97a3..6ee954e112e7714f579e0418b610f92aaa2b822f 100644
|
| --- a/chrome/test/data/push_messaging/test.html
|
| +++ b/chrome/test/data/push_messaging/test.html
|
| @@ -48,6 +48,12 @@
|
| }
|
| };
|
|
|
| + function requestNotificationPermission() {
|
| + Notification.requestPermission(function(permission) {
|
| + sendResultToTest('permission status - ' + permission);
|
| + });
|
| + }
|
| +
|
| function registerServiceWorker() {
|
| navigator.serviceWorker.register('service_worker.js', {scope: './'}).then(
|
| function(swRegistration) {
|
|
|