Feature Policy shouldn't be overridable · Issue #357 · w3c/webappsec-permissions-policy (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

@shhnjk

Description

@shhnjk

In current spec, setting feature-policy: geolocation 'self' in top-frame wouldn't restrict cross-origin iframe to request access to Geo location (e.g. <iframe allow="geolocation" src="https://cross-origin.tld"></iframe>). This has to change, in order to provide some mechanism to avoid leaking permission to cross-origin iframe (especially in the browser that supports Permission Delegation).