FeaturePolicy
Feature-Policy: geolocation 'self';
navigator.geolocation.getCurrentPosition(
p => {
alert(`Successfully retrieved geolocation(${p.coords.latitude}, ${p.coords.longitude})'`);
},
err => {
alert(`Failed to retrieve geolocation: ${err.message}`);
});