Closed
Bug 1398762
Opened 8 years ago
Closed 8 years ago
"Unparseable host permission" error displayed in the browser console
Categories
(WebExtensions :: General, defect, P3)
Tracking
(firefox55 unaffected, firefox56 unaffected, firefox57 wontfix, firefox58 verified)
VERIFIED
FIXED
mozilla58
| Tracking | Status | |
|---|---|---|
| firefox55 | --- | unaffected |
| firefox56 | --- | unaffected |
| firefox57 | --- | wontfix |
| firefox58 | --- | verified |
People
(Reporter: cbadescu, Assigned: aswan)
References
Details
Attachments
(3 files)
[Affected versions]:
- Firefox 57.0a1 (2017-09-10)
[Affected platforms]:
- Android 6.0.1
[Prerequisites]
- set xpinstall.signatures.dev-root to true
- set xpinstall.signatures.required to false
- set extensions.webapi.testing to true
- set extensions.webextPermissionPrompts to true
[Steps to reproduce]:
1.Tap the toggle button from https://addons-dev.allizom.org/en-US/firefox/addon/testingstorage/
2.Look at the browser console.
[Expected results]:
- No error is displayed.
[Actual results]:
- The Unparseable host permission moz-extension://2068d18d-b2ce-4a73-a3fc-cc24ab3cf2f2/*
Extension.jsm:838 error is displayed.
Please see the attached video.
Comment 1•8 years ago
|
||
I've investigated this issue a bit and it seems that it is related to an implicit "moz-extension://" host permission that any extension gets on its own extension URL:
- http://searchfox.org/mozilla-central/rev/00fa5dacedb925022f53d025121f1a919508e7ce/toolkit/components/extensions/Extension.jsm#602-604
Which is then is logged as an error when ExtensionData.formatPermissionStrings helper function checks the extension host permissions:
- http://searchfox.org/mozilla-central/rev/00fa5dacedb925022f53d025121f1a919508e7ce/toolkit/components/extensions/Extension.jsm#836-840
| Assignee | ||
Updated•8 years ago
|
Assignee: nobody → aswan
Priority: -- → P3
| Assignee | ||
Updated•8 years ago
|
Component: WebExtensions: Android → WebExtensions: General
| Assignee | ||
Updated•8 years ago
|
Summary: moz-extension error displayed in the browser console for Android → "Unparseable host permission" error displayed in the browser console
| Comment hidden (mozreview-request) |
| Assignee | ||
Updated•8 years ago
|
Attachment #8925739 -
Flags: review?(mixedpuppy)
Comment 3•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8925739 [details]
Bug 1398762 Fix unparseable host permission warning
https://reviewboard.mozilla.org/r/196886/#review202348
Attachment #8925739 -
Flags: review?(mixedpuppy) → review+
Pushed by aswan@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f3fe7b47cdac
Fix unparseable host permission warning r=mixedpuppy
Comment 5•8 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox58:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
This issue is verified as fixed on Firefox 58.0a1 (2017-11-08) under Wind 7 64-bit, Mac OS X 10.13 and Android 7.1.2.
The unparseable host permission warning is not displayed in the browser console.
Please see the attached video.
Status: RESOLVED → VERIFIED
Updated•8 years ago
|
Updated•7 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•