Closed
Bug 1815314
Opened 2 years ago
Closed 1 year ago
Add unit tests for persistent events of pageAction and browserAction in event pages on Android
Categories
(WebExtensions :: Android, task, P3)
WebExtensions
Android
Tracking
(firefox120 fixed)
RESOLVED
FIXED
120 Branch
Tracking | Status | |
---|---|---|
firefox120 | --- | fixed |
People
(Reporter: mixedpuppy, Assigned: zombie)
References
Details
(Whiteboard: [addons-jira])
Attachments
(1 file)
The events need to be converted to support event pages. See bug 1815310 for more detail.
Comment 1•2 years ago
|
||
What makes you believe that they are not persistent?
The mobile implementations implement ExtensionAPIPersistent
, as part of bug 1748546
- https://searchfox.org/mozilla-central/rev/4fcb729dc98138af00570c0a378fbff90a167d79/mobile/android/components/extensions/ext-pageAction.js#81
- https://searchfox.org/mozilla-central/rev/4fcb729dc98138af00570c0a378fbff90a167d79/mobile/android/components/extensions/ext-browserAction.js#87
I don't see any unit tests in either of these patches, so that would be the remaining task.
It would be nice to create a mochitest in toolkit, since that runs on both desktop and Android.
Type: defect → task
Updated•2 years ago
|
Severity: -- → N/A
Priority: -- → P3
Whiteboard: [addons-jira]
Updated•2 years ago
|
Updated•2 years ago
|
Summary: page and browser Actions events are not persistent → Add unit tests for persistent events of pageAction and browserAction in event pages on Android
Comment 2•2 years ago
|
||
I added some tests for pageAction.onClicked, browserAction.onClicked and action.onClicked in bug 1811608.
It should be straightforward to extend them with an event page test.
See Also: → 1811608
Assignee | ||
Comment 3•1 year ago
|
||
Updated•1 year ago
|
Assignee: nobody → tomica
Status: NEW → ASSIGNED
Pushed by tjovanovic@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/32efd6f8879a
Tests for pageAction and browserAction persistent events r=willdurand
Comment 5•1 year ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox120:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•