DescriptionAdd a PermissionDeniedError, update Push API public API
The Push API defines that the subscription promise should be rejected
with a DOMException named PermissionDeniedError when no permission
has been granted.
https://w3c.github.io/push-api/#widl-PushManager-subscribe-Promise-PushSubscription--PushSubscriptionOptions-options
While this error code is not formally included in the registry, IDL
is not staffed, and guidance from the spec bug is to just start
using the new name.
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23033
This CL is part of a three-sided patch:
[1] This CL.
[2] https://codereview.chromium.org/1316973002/
[3] https://codereview.chromium.org/1313493003/
BUG=522206
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201400
Patch Set 1 #
Total comments: 2
Dependent Patchsets: Messages
Total messages: 11 (4 generated)
|