The new Permissions Policy enables restricting access to the Device Attributes API, which is available only for policy-installed apps on managed ChromeOS devices. Additionally, the feature will be controlled by the Content Settings, and 2 new policies will be introduced: DeviceAttributesBlockedForOrigins and DefaultDeviceAttributesSetting, to complement the already existing DeviceAttributesAllowedForOrigins. The feature will be enabled by default.
None
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
None
None
None
Shipping on desktop | 141 |
DevTrial on desktop | 140 |
The new Permissions Policy enables restricting access to the Device Attributes API, which is available only for policy-installed apps on managed ChromeOS devices. Additionally, the feature will be controlled by the Content Settings, and 2 new policies will be introduced: DeviceAttributesBlockedForOrigins and DefaultDeviceAttributesSetting, to complement the already existing DeviceAttributesAllowedForOrigins. The feature will be enabled by default.
The Isolated Web Apps that used the Device Attributes API will now need to declare the usage of the API in the permissions_policy section in the manifest. The API launched only in ChromeOS Kiosk mode and there are no known IWAs using the API though.
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
The API which the feature is related to is not available in WebView. It is available only for policy installed web applications on managed ChromeOS devices.
None
The Device Attributes API can be called from the DevTools console. This feature changes the availability of the API, so either a result of the call or an error can be seen from DevTools.
The Device Attributes API is available only on ChromeOS, so this feature is supported on ChromeOS only as well.
Shipping on desktop | 141 |
DevTrial on desktop | 140 |