-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Safari returns different results for current permission state #278
Comments
* Chore: Link issue #278 using magical ReSpec issue feature * Update index.html Co-authored-by: Marcos Cáceres <marcos@marcosc.com>
SHA: ebf3e0e Reason: push, by @marcoscaceres Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@jyasskin do you have any additional context on this one? Having a hard time parsing it. :) |
Oh, yes, from https://www.w3.org/TR/permissions/#reading-current-states. When I poked at this several years ago, it appeared possible to have different iframes or tabs from the same origin that had different states for a given permission. For example, one could have the permission "granted" while the other had it "denied". In cases where those could directly manipulate each other's DOM (i.e. iframes and tabs with an opener relationship), that means that calling |
Thank you! I'll do some testing to see if anything like this still exists, and close it out otherwise. |
OK, I made the world's worst test page at https://miketaylr.com/misc/permission-window.html. I'm not able to create a scenario where an iframe, or a new window has a permission state that isn't synced with the permission state of all other frames for the origin. I think we can just close this out and remove the note from the spec. |
I propose to close it as invalid.
WebKit has some of the API itself implemented, so (in theory) we will pick up an interop differences with testing. |
SHA: 698e614 Reason: push, by @marcoscaceres Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Safari is the only known UA that returns different results from this algorithm for different settings objects with the same origin. We should test which of the several possible settings objects it uses.
The text was updated successfully, but these errors were encountered: