👩🏻💻 Demo instructions
In Chrome M134 or later, go to chrome://flags#permission-element
and enable the experiment.
Alternatively in Chrome M121 or later, follow these instructions to enable experimental support:
- Shut down the browser process.
-
Restart the browser with these command line flag:
--enable-features=PermissionElement
-
Ensure the flags actually took effect by verifying they appear on:
chrome://version
After granting permissions through a permission element, the underlying API will be called to verify access. The result is reported as Access status. TODO: Access status is currently only supported by geolocation, not the other permissions.