Bug 241934

Summary: Fix PushManager in ephemeral sessions
Product: WebKit Reporter: Ben Nham <nham>
Component: WebKit Misc.Assignee: Ben Nham <nham>
Status: RESOLVED FIXED    
Severity: Normal CC: nham, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Ben Nham
Reported 2022-06-23 14:12:25 PDT
PushManager does not behave correctly when invoked in an ephemeral session. For instance, PushManager.permissionState returns the underlying notification permission state for the origin in a persistent session, while PushManager.subscribe fails with an AbortError. This patch makes PushManager in ephemeral sessions behave as if a user had denied permissions to the origin.
Attachments
Ben Nham
Comment 1 2022-06-23 14:13:35 PDT
rdar://94296914 (PushManager failures in private browsing should match real user behavior)
Ben Nham
Comment 2 2022-06-23 14:55:45 PDT
EWS
Comment 3 2022-06-24 11:22:22 PDT
Committed 251831@main (0570dfb680f5): <https://commits.webkit.org/251831@main> Reviewed commits have been landed. Closing PR #1744 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.