I don't have location enabled for Google maps in the browser, but if I did, then presumably Google could collect that data also when I'm just searching for a website.
I don't have location enabled for Google maps in the browser, but if I did, then presumably Google could collect that data also when I'm just searching for a website.
So it’s now not possible to block location for search, and grant it to maps (at least using the standard browser domain permissions model).
https://support.google.com/chrome/answer/114662?hl=en&co=GEN...
I don't know if you can request permissions from the iframe (might confuse people), but if you already have them, it ought to be fine.
[0] https://github.com/w3c/webappsec-permissions-policy/blob/mai...
As you say the UI for requesting in this case would be weird, and this seems like a big security hole to me, but I can’t see a bit of the spec that explicitly forbids (though I only scanned the doc.)