Closed Bug 1867297 Opened 2 years ago Closed 2 years ago

Remove the BLOCKED_PERMISSIONS from the AddonManager

Categories

(Firefox for Android :: WebExtensions, task, P3)

All
Android
task

Tracking

()

VERIFIED FIXED
122 Branch
Tracking Status
firefox122 --- verified

People

(Reporter: amejia, Assigned: willdurand)

References

Details

(Whiteboard: [addons-jira])

Attachments

(1 file)

The check is not strictly necessary. See my comments at bug 1759601.

See Also: → 1759601
Summary: [Spike] To verify if we need to remove the BLOCKED_PERMISSIONS from the AddonManager → Remove the BLOCKED_PERMISSIONS from the AddonManager
Assignee: amejiamarmol → wdurand
Status: NEW → RESOLVED
Closed: 2 years ago
Flags: qe-verify+
Resolution: --- → FIXED
Target Milestone: --- → 122 Branch
Flags: qe-verify+

Hey Alex, could you please verify this bug?

Flags: qe-verify+
Flags: needinfo?(acornestean)

Verified as Fixed. Tested on the latest Nightly for Android (122.0a1/Build #2015990855, fab78e74bf+, GV: 122.0a1-20231210093611).

To verify the fix, I created a custom collection with Video DownloadHelper (which requires the nativeMessaging permission) and attempted to install the add-on on both the latest Beta (which does not have the fix) and the latest Nightly (which has the fix). According to https://bugzilla.mozilla.org/show_bug.cgi?id=1759601#c3 , the add-on should fail to install on Beta but succeed on Nightly, which is what happens, confirming the fix.

Moreover, about:debugging on Nightly shows a log stating addons.webextension.{b9db16a4-6edc-47ec-a1f4-b86292ed211d} WARN Loading extension '{b9db16a4-6edc-47ec-a1f4-b86292ed211d}': Reading manifest: Invalid extension permission: nativeMessaging when installing the add-on.

Compared to the add-on installed on Desktop, the permissions tab for the add-on on Android also does not show/mention the “Exchange messages with programs other than Firefox”, which is the nativeMessaging permission.

Considering the above, the issue is fixed.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
Flags: needinfo?(acornestean)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: