demo · v141

Device Attributes Policy

Pick a Permissions Policy allowlist for device-attributes, generate the Permissions-Policy header, and call navigator.managed.getAnnotatedAssetId(). The probe shows whether the API exists; the policy preview shows what your iframe would inherit.

Heads up Device Attributes is only exposed to policy-installed kiosk web apps and policy-installed IWAs on managed ChromeOS. The probe will report unavailable in this generic web context — that's the expected outcome and the demo simulates the policy decision regardless.
probing navigator.managed…
No run yet.

the headers

// Top-level response from your kiosk app:
Permissions-Policy: device-attributes=(self "https://kiosk.example")

// Embedded iframe inherits the policy. In the iframe:
const id = await navigator.managed.getAnnotatedAssetId();
//   → resolves on managed ChromeOS within the allowlist
//   → throws NotAllowedError if the embedder is outside it
//   → throws elsewhere with NotSupportedError

see also