File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -342,6 +342,16 @@ <h2>
342342 `{name: "push", userVisibleOnly: false}` is [=PermissionDescriptor/stronger than=]
343343 `{name: "push", userVisibleOnly: true}`.
344344 </ p >
345+ < p >
346+ When the permission state changes (for example, it is revoked or re-granted), the < a > user
347+ agent</ a > MAY < a > fire the "`pushsubscriptionchange`" event</ a > for subscriptions created
348+ with that permission, with the < a > service worker registration</ a > associated with
349+ the < a > push subscription</ a > as |registration|, a {{PushSubscription}} instance
350+ representing the < a > push subscription</ a > which should not be used anymore (for example,
351+ because it has been or it is being < a > deactivated</ a > ) or `null` if it is not available
352+ anymore as |oldSubscription|, and a {{PushSubscription}} representing a new valid < a > push
353+ subscription</ a > or `null` if none could be created as |newSubscription|.
354+ </ p >
345355 </ section >
346356 </ section >
347357 < section >
You can’t perform that action at this time.
0 commit comments