Bug 264320 - Explain revoked push subscriptions via a console message
Summary: Explain revoked push subscriptions via a console message
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: Safari 17
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-11-06 21:47 PST by Karl Dubost
Modified: 2023-11-06 21:47 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Dubost 2023-11-06 21:47:08 PST
When a push subscription is being revoked, notify the web developer by placing something in the Web Inspector console.
Perhaps a message could also be sent to the Reporting API.


> When a permission is revoked, the user agent MAY fire the "pushsubscriptionchange" event 
> for subscriptions created with that permission, with the service worker registration 
> associated with the push subscription as registration, a PushSubscription instance 
> representing the push subscription as oldSubscription, and null as newSubscription. 
> The user agent MUST deactivate the affected subscriptions in parallel.

see https://w3c.github.io/push-api/#security-and-privacy-considerations
Comment 1 Karl Dubost 2023-11-06 21:47:40 PST
<rdar://114794666>