Closed Bug 1401602 Opened 8 years ago Closed 8 years ago

Extension with unsupported permissions fail to install

Categories

(WebExtensions :: Android, defect, P1)

57 Branch
All
Android
defect

Tracking

(firefox55 unaffected, firefox56 unaffected, firefox57 affected)

RESOLVED INVALID
Tracking Status
firefox55 --- unaffected
firefox56 --- unaffected
firefox57 --- affected

People

(Reporter: cbadescu, Unassigned)

References

Details

Attachments

(1 file)

310.16 KB, application/x-zip-compressed
Details
Attached file ErrorMessage.zip
[Affected versions]: - Firefox 57.0a1 (2017-09-19) [Affected platforms]: - Android 7.1.2 [Prerequisites] - create extensions.webextPermissionPrompts and set it to true - create extensions.webapi.testing and set it to true - switch xpinstall.signatures.required to false [Steps to reproduce]: 1.Toggle the install button for https://addons-dev.allizom.org/en-US/firefox/addon/permissions-test2/ [Expected results]: - The extension with unsupported permissions is installed. [Actual results]: - The extension with unsupported permissions is not installed and the corrupt error message is displayed Please see the attached video.
You can specify permissions that don't exist on Desktop and they still install. Is there a problem with permissions that do exist on Desktop, but don't on Android? Marking high priority for the moment (please correct me on that)
Flags: needinfo?(aswan)
Priority: -- → P1
The permissions aren't the reason for the "corrupt" message, the extension is unsigned and does not include an id: I/GeckoConsole( 637): 1505944121177 addons.xpi WARN Download of https://addons-dev.allizom.org/firefox/downloads/file/253590/permissions_test-1.1-an+fx.xpi?src=dp-btn-primary failed: Error: Cannot find id for addon /data/data/org.mozilla.fennec_andrewswan/app_tmpdir/tmp-jvt.xpi (resource://gre/modules/addons/XPIInstall.jsm:1605:17) JS Stack trace: loadManifest@XPIInstall.jsm:1605:17
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(aswan)
Resolution: --- → INVALID
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: