Contact emailsExplainerN/ASpecificationAPI specYesSummaryAdds a new read only attribute "name" to the `PermissionStatus` interface, allowing the name of the permission to be gotten after a `PermissionStatus` is created.MotivationWhen querying multiple permissions simultaneously via the Permissions API, it was not possible to identify which PermissionStatus was which, as they were lacking a way to identify them (i.e., their "name"). The only way around this was to use something like array order or some other external index, which is less than ideal.Blink componentBlink > PermissionsAPITAG reviewNot required.
RisksInteroperability and CompatibilityCan be feature-detected by checking for the existence of the PermissionStatus.prototype.name.Chrome: No public support (only personal support).Gecko: Implemented, shipped in Nightly https://bugzilla.mozilla.org/show_bug.cgi?id=1718021WebKit: No signal (don't Implement Permissions API)
Web developers: None
DebuggabilityNo special support is needed.Is this feature fully tested by web-platform-tests?Yes, to the extent that it can be.
Flag nameN/ATracking bugLink to entry on the Chrome Platform StatusComing soon...
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/31cc4084-4ec7-4faf-abc4-1ea25f3fc6d9n%40chromium.org.
Tracking bug
I think that's maybe a mistake, https://bugs.chromium.org/p/chromium/issues/detail?id=1236856 seems to be the right bug.
later,
Mike
LGTM2
(And I'll second what Yoav said about developer signals; it is always preferable with some feedback, or shown interest or demand from the web developer community)
/Daniel
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/83d77d0c-b8ad-4cfd-878b-387de59106fan%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/58f9c00c-98a6-ce1c-4d6a-4c4b7799846e%40gmail.com.