Re: [geolocation-api] Callback with error if doc is not fully active (#97)

Thanks @reillyeon! And I again have to give a huge shout out to @rakina and co. for producing that TAG guide and for her guidance - and to @saschnas for a super detailed review over on the Gecko side, who caught the potential issue when used with promises. 

I'll see if I can create a WPT test. The challenge I've been facing is that the page requires permission to use the API. But I'll see if Webdriver, via WPT, lets me grant a page permission to use the API... Oh! might be in luck!

```JS
 await test_driver.set_permission({name: 'geolocation'}, 'granted');
``` 

Re non fully active in general: yeah, I've been finding really weird behavior... not sure if you are following the Permission's one, where (unsurprisingly) Chrome and Firefox are producing different results:

https://github.com/w3c/permissions/issues/162#issuecomment-886409154
 
These are a lot of fun to work on tho! So please ping if there are other APIs that could use a look over. 


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


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

Received on Tuesday, 27 July 2021 07:30:30 UTC