Open Bug 1720832 Opened 3 years ago Updated 3 years ago

Require transient activation to use Geolocation API

Categories

(Core :: DOM: Geolocation, enhancement)

enhancement

Tracking

()

People

(Reporter: marcos, Unassigned)

References

()

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15

Steps to reproduce:

Use the Geolocation API to access Geolocation API without a user gesture.

Actual results:

The API prompts the users to allow/deny geolocation.

Expected results:

That there be some kind of user interaction with the page before the user is prompted to make a choice.

The Bugbug bot thinks this bug should belong to the 'Core::DOM: Core & HTML' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → DOM: Core & HTML
Product: Firefox → Core
Severity: -- → N/A
Status: UNCONFIRMED → NEW
Ever confirmed: true
Component: DOM: Core & HTML → DOM: Geolocation
You need to log in before you can comment on or make changes to this bug.