FeaturePolicy

Feature-Policy: geolocation 'none';


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