PermissionsPolicy.geolocation()

Controls whether the page can use the Geolocation API.

Usage

Source

PermissionsPolicy.geolocation(*allowlist)