- From: Marcos Cáceres <notifications@github.com>
- Date: Tue, 08 Feb 2022 23:06:22 -0800
- To: w3c/permissions <permissions@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 9 February 2022 07:06:34 UTC
Added test: https://github.com/web-platform-tests/wpt/pull/30189
Checking manually with the code below, this doesn't appear to be implemented in WebKit or Gecko.
```JS
(async () => {
const perm = await navigator.permissions.query({ name: "geolocation" });
perm.onchange = console.log;
console.log("going out of scope")
// bye bye perm
})();
// prompts for permission
navigator.geolocation.getCurrentPosition(console.log);
```
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/permissions/pull/360#issuecomment-1033416586
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/permissions/pull/360/c1033416586@github.com>
Received on Wednesday, 9 February 2022 07:06:34 UTC