W3C home > Mailing lists > Public > public-geolocation@w3.org > July 2021

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

From: Marcos Cáceres via GitHub <sysbot+gh@w3.org>
Date: Tue, 13 Jul 2021 05:20:42 +0000
To: public-geolocation@w3.org
Message-ID: <issue_comment.created-878788285-1626153640-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 13 July 2021 05:20:45 UTC