File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -342,6 +342,16 @@ <h2>
342
342
`{name: "push", userVisibleOnly: false}` is [=PermissionDescriptor/stronger than=]
343
343
`{name: "push", userVisibleOnly: true}`.
344
344
</ 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 >
345
355
</ section >
346
356
</ section >
347
357
< section >
You can’t perform that action at this time.
0 commit comments