Closed
Bug 1300808
Opened 8 years ago
Closed 8 years ago
Opening options for Web Extensions produces XML parsing errors on Android
Categories
(WebExtensions :: Android, defect, P2)
WebExtensions
Android
Tracking
(firefox51 fixed)
RESOLVED
FIXED
mozilla51
Tracking | Status | |
---|---|---|
firefox51 | --- | fixed |
People
(Reporter: jwkbugzilla, Assigned: mattw)
References
Details
(Whiteboard: triaged)
Attachments
(2 files)
I tried installing the Web Extension build of Easy Passwords on Android. Opening about:addons and clicking on Easy Passwords produces the following error:
> XML Parsing Error: mismatched tag. Expected: </link>.
Location: jar:file:///data/data/org.mozilla.fennec/files/mozilla/plt5hfoi.default/extensions/easypasswords@palant.de.xpi!/data/options/options.html
Line Number 15, Column 5:
It seems that Web Extensions options aren't supported on Android yet, it rather expects XUL options.
Updated•8 years ago
|
Component: WebExtensions → WebExtensions: Android
Comment 1•8 years ago
|
||
Let's see if we can fix that error and file another bug about adding in options_ui support.
Assignee: nobody → mwein
Priority: -- → P2
Whiteboard: triaged
Comment hidden (mozreview-request) |
Comment 3•8 years ago
|
||
mozreview-review |
Comment on attachment 8790996 [details]
Bug 1300808 - Only load options pages on Android for OPTIONS_TYPE_INLINE.
https://reviewboard.mozilla.org/r/78552/#review77152
This works, I guess, but I think that the correct solution is for the add-on manager UI to either ignore OPTIONS_TYPE_INLINE_BROWSER, or treat it as if it were OPTIONS_TYPE_TAB.
Attachment #8790996 -
Flags: review?(kmaglione+bmo) → review-
Comment hidden (mozreview-request) |
Comment 5•8 years ago
|
||
mozreview-review |
Comment on attachment 8790996 [details]
Bug 1300808 - Only load options pages on Android for OPTIONS_TYPE_INLINE.
https://reviewboard.mozilla.org/r/78552/#review77364
::: mobile/android/chrome/content/aboutAddons.js:229
(Diff revision 2)
> let opType = this._getOpTypeForOperations(aAddon.pendingOperations);
> let updateable = (aAddon.permissions & AddonManager.PERM_CAN_UPGRADE) > 0;
> let uninstallable = (aAddon.permissions & AddonManager.PERM_CAN_UNINSTALL) > 0;
> + let optionsURL = aAddon.optionsURL || "";
> +
> + // TODO(matt): Remove once HTML options pages are supported - Bug 1302504.
We'll still need this check, and another one to decide how to handle options pages based on the type. So please re-word the comment to reflect this.
Attachment #8790996 -
Flags: review?(kmaglione+bmo) → review+
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 12•8 years ago
|
||
mozreview-review |
Comment on attachment 8791384 [details]
Bug 1300808 - Enable eslint for browser/mobile/chrome.
https://reviewboard.mozilla.org/r/78802/#review77428
Fine with me if everything else in that tree passes.
Attachment #8791384 -
Flags: review?(kmaglione+bmo) → review+
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Updated•8 years ago
|
Keywords: checkin-needed
Comment 15•8 years ago
|
||
Pushed by cbook@mozilla.com:
https://hg.mozilla.org/integration/fx-team/rev/5b40e209b9a7
Enable eslint for browser/mobile/chrome. r=kmag
https://hg.mozilla.org/integration/fx-team/rev/e3646efc3a07
Only load options pages on Android for OPTIONS_TYPE_INLINE. r=kmag
Keywords: checkin-needed
Comment 16•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5b40e209b9a7
https://hg.mozilla.org/mozilla-central/rev/e3646efc3a07
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
Updated•6 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•