- From: Raphael Kubo da Costa <notifications@github.com>
- Date: Tue, 12 Sep 2023 03:11:57 -0700
- To: w3c/permissions <permissions@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 12 September 2023 10:12:02 UTC
https://w3c.github.io/permissions/#set-permission-command changes permissions for "all environment settings objects whose origin is the same as the origin of [the current settings object]". This is somewhat problematic from a [testdriver](https://web-platform-tests.org/writing-tests/testdriver.html) perspective when cross-origin tests are involved: there are [limitations](https://web-platform-tests.org/writing-tests/testdriver.html#using-test-driver-in-other-browsing-contexts) that end up making all WebDriver communication go through the context that includes testharness.js, so if a given test includes a cross-origin iframe that needs to invoke "Set Permission" the call will go through the main frame and not have the desired effect. Even though this is a testdriver limitation, I guess fixing it is not trivial, so I was wondering if the editors would be open to changing the spec itself to make it possible to (optionally) pass different origins. -- Reply to this email directly or view it on GitHub: https://github.com/w3c/permissions/issues/419 You are receiving this because you are subscribed to this thread. Message ID: <w3c/permissions/issues/419@github.com>
Received on Tuesday, 12 September 2023 10:12:02 UTC