Closed
Bug 1874958
Opened 2 years ago
Closed 2 years ago
ServiceWorkerRegistration.showNotification put notification to DB even without notification permission
Categories
(Core :: DOM: Push Subscriptions, defect, P2)
Core
DOM: Push Subscriptions
Tracking
()
RESOLVED
FIXED
124 Branch
| Tracking | Status | |
|---|---|---|
| firefox124 | --- | fixed |
People
(Reporter: saschanaz, Assigned: saschanaz)
References
Details
Attachments
(1 file, 1 obsolete file)
| Assignee | ||
Comment 1•2 years ago
|
||
Broken notification with incorrect icon string also goes to the DB without being shown, but that seems to happen only without permission.
| Assignee | ||
Comment 2•2 years ago
|
||
Depends on D198836
Updated•2 years ago
|
Severity: -- → S3
Priority: -- → P2
Updated•2 years ago
|
Attachment #9373328 -
Attachment is obsolete: true
| Assignee | ||
Comment 3•2 years ago
|
||
Somehow we ended up throwing if it's explicitly denied. Now it throws error with the default permission too.
Updated•2 years ago
|
Attachment #9378557 -
Attachment description: WIP: Bug 1874958 - Part 1: Do not call CreateAndShow with the default permission r=asuth → Bug 1874958 - Do not call CreateAndShow with the default permission r=asuth
Pushed by krosylight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ab5b008e36a4
Do not call CreateAndShow with the default permission r=asuth
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/44433 for changes under testing/web-platform/tests
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox124:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in
before you can comment on or make changes to this bug.
Description
•