Closed Bug 1610582 Opened 6 years ago Closed 5 years ago

Firefox requests notification permission with dom.push.testing.ignorePermission enabled

Categories

(Core :: DOM: Push Subscriptions, defect, P2)

defect

Tracking

()

VERIFIED FIXED
mozilla75
Tracking Status
firefox75 --- verified

People

(Reporter: jkratzer, Assigned: jkratzer)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Firefox prompts for permission to allow notifications even with the pref dom.push.testing.ignorePermission enabled. This is due to the missing return statement at:
https://searchfox.org/mozilla-central/rev/68b2e0fd4323261a229233ec2ab8606228979141/dom/push/Push.jsm#89

Assignee: nobody → jkratzer
Status: NEW → ASSIGNED

There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:jkratzer, could you have a look please?
For more information, please visit auto_nag documentation.

Flags: needinfo?(jkratzer)
Pushed by kcambridge@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/08149dc0e968 Don't prompt for permission if dom.push.testing.ignorePermission enabled r=lina

Thanks Jason! 😄

Flags: needinfo?(jkratzer)
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75

Managed to reproduce the issue using Fx74.0a1.
The issue is verified fixed using Fx75.0b5 and Fx76.0a1 on windows 10, macOS and Ubuntu 18.04. There is no prompt displayed for notification permissions. This was tested by toggling the push notifications on/off in twitter settings.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
Blocks: domino
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: