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)

task

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.

See Also: → 1815310

What makes you believe that they are not persistent?

The mobile implementations implement ExtensionAPIPersistent, as part of bug 1748546

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
Severity: -- → N/A
Priority: -- → P3
Whiteboard: [addons-jira]
Summary: page and browser Actions events are not persistent → Add unit tests for persistent events of pageAction and browserAction in event pages on Android

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: 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
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: