W3C home > Mailing lists > Public > public-device-apis-log@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: Fri, 09 Jul 2021 01:15:24 +0000
To: public-device-apis-log@w3.org
Message-ID: <issue_comment.created-876842570-1625793322-sysbot+gh@w3.org>
@rakina @reillyeon, I've reworked this a bit so now:

 1. if not fully active and the API is called, gracefully return an arbitrary number. 
 2. if suddenly becomes inactive, drop the position request on the floor (and keep dropping them until such time as as the doc becomes active).
 3. Do the above also for page visibility too - so that only fully active visible documents receive position updates. 

I'll put together some tests for what I can. 

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

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 9 July 2021 01:15:46 UTC

This archive was generated by hypermail 2.4.0 : Monday, 4 July 2022 12:47:58 UTC