handle.requestPermission works in iframe with the same host name with outer window
Doesn't work in iframe with different host name with outer window: DOMException: Not allowed to request permissions in this context.
My service, maybe other services too, run in iframe and it needs to access files. Is it possible to lax out, loosen the security about this? coz user has to make a user activation action anyway, so it's acceptable security.
Current condition:
queryPermission
works in any contextrequestPermission
works in iframe with the same host name with outer windowDOMException: Not allowed to request permissions in this context.
My service, maybe other services too, run in iframe and it needs to access files. Is it possible to lax out, loosen the security about this? coz user has to make a user activation action anyway, so it's acceptable security.