DescriptionAdd a UseCounter for Notification.permission
While this is a relatively new property, it does require a synchronous IPC
to the browser process in order to get the permission status, and thus would
be better as a Notification.hasPermission() method returning a Promise (or
similar).
Since we will need a similar construct for Push Messaging, and potentially
other APIs, let's get some data on whether developers use this to see if
we can get a more common, asynchronous approach.
BUG=
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173004
Patch Set 1 #Patch Set 2 : Rebased #
Messages
Total messages: 13 (0 generated)
|