-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Labels
supportive: chromeSupportive from ChromeSupportive from Chromesupportive: firefoxSupportive from FirefoxSupportive from Firefoxsupportive: safariSupportive from SafariSupportive from Safaritopic: user activationAlso known as a "user gesture"Also known as a "user gesture"
Description
In event listeners like action.onClicked, we grant a user gesture. This allows extension developers to call other APIs that have a user gesture requirement.
There is a lack of consistency around if this is granted just while the callback runs or for an extended time period. For example, Chrome currently only grants the gesture while the listener is running, preventing the use of asynchronous code before calling an API that needs the user gesture.
We should use the concept of User Activation consistently where any user gesture granted by the extensions system grants the gesture for a browser defined time-period.
Metadata
Metadata
Assignees
Labels
supportive: chromeSupportive from ChromeSupportive from Chromesupportive: firefoxSupportive from FirefoxSupportive from Firefoxsupportive: safariSupportive from SafariSupportive from Safaritopic: user activationAlso known as a "user gesture"Also known as a "user gesture"