Closed
Bug 1768839
Opened 3 years ago
Closed 3 years ago
Use "browser action" API for the `action` namespace on Android
Categories
(WebExtensions :: General, defect)
WebExtensions
General
Tracking
(firefox102 fixed)
RESOLVED
FIXED
102 Branch
| Tracking | Status | |
|---|---|---|
| firefox102 | --- | fixed |
People
(Reporter: willdurand, Assigned: willdurand)
References
(Blocks 1 open bug)
Details
(Whiteboard: [addons-jira])
Attachments
(1 file)
On Android, loading a MV3 extension with a browser action (using action in the manifest) works but registering an event listener will fail and the error message is:
No browser action for <ADD-ON ID HERE>
This error message is thrown in TestRunnerActivity.java#520 but the problem is that we don't have a valid handler in ExtensionParent.jsm#1129.
I think this is because we didn't register the "browser action" extension API for action in ext-android.json.
| Assignee | ||
Comment 1•3 years ago
|
||
I chose to write a minimal test case and defer more test coverage to Bug
1723763 since this bug already existed. The change in ext-android.json
is similar to what has been done in D113461.
| Assignee | ||
Updated•3 years ago
|
Whiteboard: [addons-jira]
Updated•3 years ago
|
Pushed by wdurand@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3ce05360e3f3
Use browser action API for MV3 `action` on Android. r=robwu,agi
Status: NEW → RESOLVED
Closed: 3 years ago
status-firefox102:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•