Closed
Bug 1675858
Opened 5 years ago
Closed 4 years ago
Misleading log: Reading manifest: Invalid extension permission: geckoViewAddons
Categories
(WebExtensions :: General, task, P3)
WebExtensions
General
Tracking
(firefox85 fixed)
RESOLVED
FIXED
85 Branch
| Tracking | Status | |
|---|---|---|
| firefox85 | --- | fixed |
People
(Reporter: agi, Assigned: rpl)
References
Details
Attachments
(2 files)
When running a privileged extension with the geckoViewAddons we get this log statement:
Reading manifest: Invalid extension permission: geckoViewAddons
Even though the permission is applied and everything works correctly. We should remove it since it's very confusing to embedders.
| Reporter | ||
Comment 1•5 years ago
|
||
This is not specific to Android actually, it happens for all privileged permissions (including mozillaAddons)
Component: Android → General
Comment 2•5 years ago
|
||
Luca will look into doing something about this. It's harmless but annoying.
Severity: -- → N/A
Flags: needinfo?(lgreco)
Priority: -- → P3
| Assignee | ||
Comment 3•5 years ago
|
||
Updated•5 years ago
|
Assignee: nobody → lgreco
Status: NEW → ASSIGNED
| Assignee | ||
Comment 4•5 years ago
|
||
Attached a patch which includes:
- some small enough changes to prevent the invalid permission warning to be collected while loading the manifest (when the manifest is parsed by a plain ExtensionData instance, as used in XPIProvider to load and parse the manifest).
- still collect and log as expected the invalid permission warning for the privileged permission when the manifest is being parsed by the Extension class instance
- new test coverage to cover the behavior expected by a ExtensionData class instance and a privileged and non privileged Extension class instances
Pushed to try to double-check that none of the existing tests did break with the changes applied:
Flags: needinfo?(lgreco)
| Assignee | ||
Comment 5•4 years ago
|
||
Depends on D97646
Pushed by luca.greco@alcacoop.it:
https://hg.mozilla.org/integration/autoland/rev/75fa36750ac3
Skip misleading invalid permission warning for privileged permissions while loading manifest from ExtensionData instances. r=mixedpuppy
https://hg.mozilla.org/integration/autoland/rev/18fcdf3ec3f6
Remove misleading obsolete inline comment from Extension.jsm. r=mixedpuppy
Comment 7•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/75fa36750ac3
https://hg.mozilla.org/mozilla-central/rev/18fcdf3ec3f6
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox85:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•