Closed Bug 1599555 Opened 5 years ago Closed 5 years ago

"Send notifications" permission doesn't respect facebook's settings

Categories

(Firefox :: Site Permissions, defect)

Desktop
Windows 10
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: florencia.diciocco, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: regression, regressionwindow-wanted)

Attachments

(1 file)

Attached video facebook.mp4

Steps to reproduce:
Access https://www.facebook.com/ and login
Click on facebook's settings from the upper right side.
From the facebook's left side menu select Notifications and click on "settings", then choose "browser".
Click on "Turn on" button in order to activate the notifications in Firefox.
Select "Allow Notifications".
Reload the page and go to browser again.
Try to turn off notifications

Actual Results:
"Send notifications" permission doesn't respect facebook settings. If I turn off notifications from facebook, the permission is not changed.

Expected Results:
"Send notifications" permission should respect facebook settings. If I turn off notifications from facebook, the permission should be changed to blocked.

Note, this has been the behaviour since at least Nightly 68.

Summary: "Send notifications" permission doesn't respect facebook settings → "Send notifications" permission doesn't respect facebook's settings
Component: DOM: Push Notifications → Site Permissions
Product: Core → Firefox

Thanks for the detailed bug report!

When you're disabling notifications on Facebook via their UI you're only asking Facebook to not send any. The site is still allowed to send notifications. Websites shouldn't be able to control permissions set in the browser, other than via browser UI like permission prompts.

The spec states that "Notifications can only be displayed if the user (or user agent on behalf of the user) has granted permission." and I think the same goes for revoking permissions.
https://notifications.spec.whatwg.org/#permission-model

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX

The permission should not be changed to "blocked" because then Facebook could not ask you again :)

They could revoke permissions with the permission.revoke API but that's currently preffed off in Firefox.

Resolution: WONTFIX → INVALID

Hi Johan, thanks for the explanation!

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: