Closed Bug 1802571 Opened 2 years ago Closed 2 years ago

useAddonManager: "android-only" should use "temporary" instead of "permanent" when temporarilyInstalled is true

Categories

(WebExtensions :: General, task)

task

Tracking

(firefox109 fixed)

RESOLVED FIXED
109 Branch
Tracking Status
firefox109 --- fixed

People

(Reporter: robwu, Assigned: robwu)

References

Details

Attachments

(1 file)

Mochitests on Android require extensions to be installed through the AddonManager when it uses UI APIs such as tabs. This was addressed in bug 1641735 by introducing the "android-only" value for useAddonManager and translating that to undefined on desktop and permanent on Android.

But "permanent" is not always desirable. For example, the granted_host_permissions flag is only permitted for temporarily installed extensions. In MV3 tests, temporarilyInstalled: true is often set when granted_host_permissions is needed. We should make sure that useAddonManager: "android-only" translates to "temporary" in this case.

See Also: → 1745761
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: