-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Labels
enhancementEnhancement or change to an existing featureEnhancement or change to an existing featureinconsistencyInconsistent behavior across browsersInconsistent behavior across browserstopic: action
Description
A Chromium bug was recently opened sharing an action.openPopup API, and a basic implementation has shipped restricted to the dev channel. This is super exciting since it's the first time Chrome extensions look set to get this ability.
Since Firefox has already implemented browserAction.openPopup, I'm curious on a few things:
- Would Mozilla be willing to either support the new namespace as an alias or try to work with Google to encourage use of the existing API naming? In an ideal world I would rather see Chromium implement the Firefox API, since that has already shipped and seems to work well. However, they seem to be wanting to diverge from the private API they have already implemented so I'm not sure how feasible that is.
- One big step the Chromium API has taken is removing the requirement for a user action. The API overview doc says that they "do not currently plan any mitigations for attacks of annoyance" because "extensions can already do far worse than this with the tabs API and window creation." Would Mozilla consider the same? It immediately solves some of the native messaging use cases raised at the start of Discuss and encourage adoption of
browserAction.openPopup()#15.
ℹ️ Update: The initial questions here have been resolved and this issue is now tracking more nuanced behaviour differences between browsers. See the current behaviours and proposed standard behaviours.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementEnhancement or change to an existing featureEnhancement or change to an existing featureinconsistencyInconsistent behavior across browsersInconsistent behavior across browserstopic: action