46 bytes, text/x-phabricator-request
|Details | Review|
248 bytes, application/json
8.36 KB, image/png
This is another "Project Jazz" bug that has to do with the fact that a new browserSettings API is going to land, called webNotificationsDisabled. If this is set to `true` by an extension then the default permissions for that profile will be to deny permission to issue web notifications. I'm not sure exactly how this should be shown in the UI, but it's something that should be covered by Jazz. See  for a bit of discussion about this.  https://bugzilla.mozilla.org/show_bug.cgi?id=1364942#c19
This should be displayed next to the checkbox that bug 1368744 is adding. See mockups in that bug. :)
Depends on: 1368744
Assignee: nobody → prathikshaprasadsuman
Status: NEW → ASSIGNED
Show that an Extension is controlling the default notifications permission
status-firefox57: wontfix → ---
status-firefox58: affected → ---
Background script for the test extension.
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/225546ee5bd2 Show that an Extension is controlling the default notifications permission. r=flod,johannh
Status: ASSIGNED → RESOLVED
Last Resolved: 5 months ago
status-firefox64: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
Will this bug require manual testing? if so please specify some steps to validate or set the 'qe-verify-' flag, thank you
Moving the needinfo to Mark (because he has been the mentor on this bug).
Flags: needinfo?(bob.silverberg) → needinfo?(mstriemer)
Thanks Luca! I was just about to do that myself. :-)
To test - 1. Install an extension that globally overrides the desktop-notification permission or load one manually(the manifest.json and test.js files are attached above) in about:debugging. 2. If you're using the attached test extension, click on the extension's browser action icon in the toolbar to set the override setting to true. 3. Open Preferences > Privacy and Security > Permissions > Settings button(Notifications Permission). 4. You should be able to see a section at the bottom of the settings dialog indicating that an extension is controlling the notifications permission setting. 5. Should be able to disable the extension by clicking the "Disable Extension" button and instructions to re-enable the extension should appear in the same section.
See Comment 10 for steps to validate this change. Thanks!
Flags: needinfo?(mstriemer) → qe-verify+
Thank you for the testing steps. I've successfully validated that the Settings is showing the notification using Nightly 65.0a1 and 64.0b3. Both running on windows 10 x64.
Status: RESOLVED → VERIFIED
status-firefox64: fixed → verified
You need to log in before you can comment on or make changes to this bug.