Permission prompts will pop up endlessly
Categories
(Firefox :: Site Permissions, defect, P3)
Tracking
()
People
(Reporter: 709922234, Unassigned, NeedInfo)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:145.0) Gecko/20100101 Firefox/145.0
Steps to reproduce:
- Visit the designated website
Actual results:
Permission prompts will pop up endlessly
Expected results:
No more pop-ups after allowing
Comment 1•6 months ago
|
||
Clarification: Do you see prompts endlessly while on that site (without reloads) or do you see these prompts re-appearing as you reload the site or visit it again? Do you have a site you could share where this happens so I can try to reproduce myself?
I see we're lacking the "remember" option here. This might be because it's a third-party requesting it. Once we implement permissions policy we could prompt for the top level and also support persisting that choice.
IIRC we don't offer persisting the permission because - without permissions policy - this could would allow the requesting site to make LNA requests in both first party and third-party contexts which is unexpected. Also it's confusing to see a third-party prompt for LNA.
Sunil, I want to make sure this is on your radar.
This is our internal website.
I think it may have something to do with the fact that we changed the domain name, cache? cross domain?
Comment 4•6 months ago
|
||
Thanks for filing the bug.
(In reply to 709922234 from comment #2)
This is our internal website.
I think it may have something to do with the fact that we changed the domain name, cache? cross domain
It's because of cross-domain. If you have a cross-site iframe on a page making a local access you would see this permission prompt without an option to remember. This means the permission is granted only temproarily.
With Bug 1988152, you should be able to configure a policy to skip LNA checks for specific domains.
BTW, can you please share the devtool output for the request?
Are you looking for any other workaround until Bug 1988152 is released?
Comment 6•5 months ago
|
||
Should be block this bug on the permissions policy integration? i.e. when we get the "remember" checkbox because we can prompt for the top level when a 3rd party does the request.
Comment 7•5 months ago
|
||
Yes, Emma we should block this bug on Permission Policy Integration.
Updated•3 months ago
|
Comment 9•3 months ago
|
||
Just to note, in Chromium browsers this use case works via the Permissions Policy on iframes:
<iframe src="https://domainB.example" allow="local-network-access"></iframe>
Comment 10•29 days ago
|
||
Can u please check in the latest nightly, this will be resolved as we have implemented the permission policy for lna.
please note the latest permission names here , loopback-network and local-network -> https://wicg.github.io/local-network-access/#permissions
Description
•