Re: [geolocation-api] Deal with active/inactive documents (#78)

Did a little digging... both Chromium and WebKit simply do the following check: 

```
if (!frame())
   return 0;
```

But I couldn't find any other checks for when `.watchPosition()` is actually running. 

It's hard to test if the callbacks are invoked, as even `.watchPosition()` only fires once.... I'll see if I can try on my phone and move around a bit. 

Gecko unfortunately throws. I can probably fix that in Gecko easily enough though. 



-- 
GitHub Notification of comment by marcoscaceres
Please view or discuss this issue at https://github.com/w3c/geolocation-api/issues/78#issuecomment-857481514 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 9 June 2021 08:05:46 UTC