11:59 | <Simon☀️> | I am staring at this part of the permission policy spec: https://www.w3.org/TR/permissions-policy-1/#declared-origin - it seems to imply that an iframe uses its src attribute to determine its "declared origin" and I don't understand how this makes sense, given that an iframe can be navigated and src won't change. |
12:00 | <Simon☀️> |
|
12:01 | <Simon☀️> | If a page denies a frame access to e.g. geolocation, the frame shouldn't be able to get around it by navigating, right? |
14:23 | <zcorpan> | Simon☀️: https://w3c.github.io/webappsec-permissions-policy/#declared-origin is the editor's draft But yeah, it uses the origin of the URL in |
14:27 | <zcorpan> | Simon☀️: https://w3c.github.io/webappsec-permissions-policy/#algo-process-policy-attributes is the relevant caller |
14:42 | <smaug> | hmm, window.location = "foo"; consumes transient activation in Chrome. I wonder why |