Re: [geolocation-api] Gracefully handle documents that are not fully active (#90)

I think it might not be possible to test this with WPT. The limitation that we have is that I can't spin up a tab, then switch back to the original test's tab, which would cause the background tab to be "hidden". 

Similarly, with an iframe: removing the iframe makes it "hidden", but it simultaneously trashes the iframe's `window` object, hence you can't call geolocation on it (unless you steal a reference to geolocation before it is GC'ed, but at that point you are dealing with dead objects). 

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


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

Received on Tuesday, 13 July 2021 05:20:44 UTC