You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Haven't looked into this yet, so it may be something obvious. Discovered when testing http://angularexpo.com/, in the CLI or extension. I get:
Required GeolocationOnStart gatherer encountered an error: Unable to determine if this permission was requested on page load because it had already been set. Try resetting the permission and running Lighthouse again.
Checking the state, it's seeing the permission as denied even though this is a new blank Chrome profile.
Interestingly the NotificationOnStart gatherer has no issue with this page, even though it's querying the permission state in the same way.
The text was updated successfully, but these errors were encountered:
@ebidel has a fix to put a better error message on this, but he found the root cause was that the page isn't HTTPS, and geolocation works only on secure origins as of m50, so navigator.permissions.query will always returned denied for it on that page.
Since we check for that status before running the gatherer, insecure pages will get this warning even if the page isn't actually asking for the permission.
Haven't looked into this yet, so it may be something obvious. Discovered when testing
http://angularexpo.com/
, in the CLI or extension. I get:Required GeolocationOnStart gatherer encountered an error: Unable to determine if this permission was requested on page load because it had already been set. Try resetting the permission and running Lighthouse again.
Checking the state, it's seeing the permission as
denied
even though this is a new blank Chrome profile.Interestingly the
NotificationOnStart
gatherer has no issue with this page, even though it's querying the permission state in the same way.The text was updated successfully, but these errors were encountered: