Open Bug 1603479 Opened 4 years ago Updated 4 years ago

Notification preferences are forgotten when changed to block if "Block new requests asking to allow notifications" is active

Categories

(Firefox :: Site Permissions, defect, P3)

72 Branch
Desktop
Linux
defect

Tracking

()

Tracking Status
firefox71 --- affected
firefox72 --- affected
firefox73 --- affected

People

(Reporter: florencia.diciocco, Unassigned)

References

(Blocks 1 open bug, )

Details

Attachments

(2 files)

Attached video settings deleted.mp4

Steps to reproduce:
Access https://serviceworke.rs/push-simple_demo.html and allow notifications.
Go to the hamburger bar, options, privacy and security, permissions, notifications, settings. Check the option "Block new requests asking to allow notifications" and save changes.
Close the settings menu. Open it again and change the permissions of https://serviceworke.rs/push-simple_demo.html from allow to block.
Open the settings menu again.

Actual Results:
The page's permission is forgotten.

Expected Results:
The page's permission should still be listed.

Ah, that's because you've changed it to the default permission, and we don't store default permissions, we delete them. Hm, I can't understand that this case is a little confusing for users, though it seems like an edge case still.

Attached image block.png

Hi Johann,

What do you mean you don't store default permissions? I've seen blocked sites stored with no problems. Even after closing and opening FF.

Flags: needinfo?(jhofmann)

Besides, the problem with this behaviour is that in the feature, if I unmark the option "Block new requests asking to allow notifications", then I have to tell FF again to block notifications in those pages. It's kind of a bother.

I meant that if your default is set to "Block" then we will not internally store any "Block" permissions because they're equivalent to the default.

Flags: needinfo?(jhofmann)
Priority: -- → P3
Summary: Notification prefferences are forgotten when changed to block if "Block new requests asking to allow notifications" is active → Notification preferences are forgotten when changed to block if "Block new requests asking to allow notifications" is active
Severity: normal → S4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: