Closed Bug 2013477 Opened 3 months ago Closed 3 months ago

Support action.isEnabled(tabId) next to action.isEnabled(details)

Categories

(WebExtensions :: General, enhancement)

enhancement

Tracking

(firefox149 fixed)

RESOLVED FIXED
149 Branch
Tracking Status
firefox149 --- fixed

People

(Reporter: robwu, Assigned: robwu)

References

Details

(Keywords: dev-doc-complete, Whiteboard: [wecg][addons-jira])

Attachments

(1 file)

Following agreement in the WECG to support the action.isEnabled(integer tabId) type (that Chrome is currently the only implementer of) in addition to the action.isEnabled(object details) syntax (that Firefox and Safari already support), let's implement it.

This makes action.isEnabled(tabId) also more fitting with the signatures of action.enable(tabId) and action.disable(tabId).

Assignee: nobody → rob
Status: NEW → ASSIGNED
Whiteboard: [wecg] → [wecg][addons-jira]
Pushed by chorotan@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/ec9b2c3d5961 https://hg.mozilla.org/integration/autoland/rev/6d6a90d923ce Revert "Bug 2013477 - Support action.isEnabled(tabId) r=rpl" for causing mochitest failures on test_ext_action.html

Backed out for causing mochitest failures on test_ext_action.html
Backout link
Push with failures
Failure log(s)

Flags: needinfo?(rob)

Debug-only rejected name property in the schema; going to reland without it.

Flags: needinfo?(rob)
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch
Keywords: dev-doc-needed

BCD changes included in Bug-2012727 action.isEnabled updated properties info #28964. MDN changes to follow next week.

MDN documeation changes included in Bug-2012727 isEnabled updates for action and browseAction #42997

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: