Closed Bug 1879112 Opened 5 months ago Closed 2 months ago

Notification::CloseInternal happens after permissionless `new Notification()`

Categories

(Core :: DOM: Notifications, defect, P3)

defect

Tracking

()

RESOLVED FIXED
127 Branch
Tracking Status
firefox127 --- fixed

People

(Reporter: saschanaz, Assigned: saschanaz)

References

Details

Attachments

(1 file)

But it's not shown, so no point to close it.

The behavior happens when running ./mach wpt /notifications/constructor-basic.https.html /notifications/constructor-invalid.https.html. (The notifications triggered from -basic without the permission are closed while -invalid is running. 🤔)

Severity: -- → S3
Priority: -- → P3
Attachment #9379062 - Attachment description: WIP: Bug 1879112 → WIP: Bug 1879112 - Check permission earlier and mark as closed if failed

It's crashing on CI (specifically with ./mach wpt /notifications/getnotifications-across-processes.https.window.html /notifications/historical.any.worker.html and the fix depends on bug 1879934.

Depends on: 1879934
Attachment #9379062 - Attachment description: WIP: Bug 1879112 - Check permission earlier and mark as closed if failed → Bug 1879112 - Check permission earlier and mark as closed if failed r=asuth
Pushed by krosylight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2b3b6edc0cff
Check permission earlier and mark as closed if failed r=asuth
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/44881 for changes under testing/web-platform/tests
Upstream PR merged by moz-wptsync-bot
Attachment #9379062 - Attachment description: Bug 1879112 - Check permission earlier and mark as closed if failed r=asuth → WIP: Bug 1879112 - Check permission earlier and mark as closed if failed r=asuth
Flags: needinfo?(krosylight)
Component: DOM: Push Subscriptions → DOM: Notifications
Attachment #9379062 - Attachment description: WIP: Bug 1879112 - Check permission earlier and mark as closed if failed r=asuth → Bug 1879112 - Check permission earlier and mark as closed if failed r=asuth
Pushed by krosylight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bf3735b436f1
Check permission earlier and mark as closed if failed r=asuth
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: