- From: Reilly Grant via GitHub <sysbot+gh@w3.org>
- Date: Mon, 15 Apr 2024 21:58:46 +0000
- To: public-device-apis-log@w3.org
There isn't a Puppeteer API for setting "location unavailable" even though it is actually part of the underlying Chrome DevTools Protocol. Not setting a location at all before the test doesn't work because without being instructed to override the location the browser will try to request it from the OS. The modal is displayed by your own test page because the browser doesn't have OS-level location permission. There is a Puppeteer API for dismissing `alert()` dialogs but at that point the test has already gone wrong. -- GitHub Notification of comment by reillyeon Please view or discuss this issue at https://github.com/w3c/geolocation-api/issues/146#issuecomment-2057881887 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 15 April 2024 21:58:47 UTC