WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
241934
Fix PushManager in ephemeral sessions
https://bugs.webkit.org/show_bug.cgi?id=241934
Summary
Fix PushManager in ephemeral sessions
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
Add attachment
proposed patch, testcase, etc.
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
Pull request:
https://github.com/WebKit/WebKit/pull/1744
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.
Top of Page
Format For Printing
XML
Clone This Bug