Issue metadata
Sign in to add a comment
|
fcm is not supported under headless mode
Reported by
bdir...@gmail.com,
Jun 3 2017
|
||||||||||||||||||||||||
Issue descriptionChrome Version : Google Chrome 59.0.3071.83 beta URLs (if applicable) : https://groups.google.com/a/chromium.org/forum/#!topic/headless-dev/i-aVV_pmc-E What steps will reproduce the problem? (1) running a page with the following javascript ``` import 'firebase/firebase-app' import 'firebase/firebase-messaging' firebase.initializeApp() let messaging = firebase.messaging() messaging.requestPermission() .then( () => { console.log('success!'); ).catch( (e) => { console.log('error: ', JSON.stringify(e)); }) What is the expected result? success should be printed to console What happens instead? error: {"code":"messaging/permission-default","message":"Messaging: The required permissions were not granted and dismissed instead. (messaging/permission-default)."}" Please provide any additional information below. Attach a screenshot if possible. I didn't see Brendan McCarthy post a ticket. So I will. https://groups.google.com/a/chromium.org/forum/#!topic/headless-dev/i-aVV_pmc-E
,
Jul 25 2017
We're still missing functionality to deal with permissions in headless. We're looking into adding commands to grant/deny permission requests via DevTools, see bug 631464 . |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by krajshree@chromium.org
, Jul 20 2017Components: Internals>Headless
Labels: Needs-Feedback