Closed Bug 1308796 Opened 8 years ago Closed 8 years ago

WebExtension installation should not fail when it sees object in permissions

Categories

(WebExtensions :: Untriaged, defect)

52 Branch
defect
Not set
normal

Tracking

(firefox52 affected)

RESOLVED INVALID
Tracking Status
firefox52 --- affected

People

(Reporter: noitidart, Unassigned)

Details

Chrome Extensions set objects in the permissions like this: "permissions": [ "unlimitedStorage", "notifications", { "fileSystem": ["write"] }, "alarms", "fullscreen", "audioCapture" ], When it sees this though during install, it fails with this error: 1476041036769 addons.webextension. ERROR Loading extension 'null': Reading manifest: Error processing permissions.2: Expected string instead of {"fileSystem":["write"]} Log.jsm:753 Invalid match pattern: '[object Object]' MatchPattern.jsm:52 What should happen, is it should not fail, it should just ignore it. This happens in the extension call "Signal" found here - https://chrome.google.com/webstore/detail/signal-private-messenger/bikioccmkafdpakkkcpdbppfkghcmihk
Component: Untriaged → WebExtensions: General
Product: Firefox → Toolkit
Component: WebExtensions: General → WebExtensions: Untriaged
This isn't an extension, it's an app. None of Chrome's extension permissions that I know of are specified as objects. If that changes, we can revisit.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
Ooh, missed that one, thanks for the quick resolution!
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.