Open
Bug 1423876
Opened 7 years ago
Updated 2 years ago
webextension not support on mips
Categories
(WebExtensions :: General, defect, P5)
Tracking
(Not tracked)
UNCONFIRMED
People
(Reporter: hwjeastd07, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
297.23 KB,
image/jpeg
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36
Steps to reproduce:
about:debugging and temporary install addon.
example:https://github.com/mdn/webextensions-examples/tree/master/notify-link-clicks-i18n
Actual results:
webextension not support, addon could not used
Expected results:
webextension should support.
Terminal Info:Error processing default_locale: An unexpected property was found in the webExtension manifest.
WebConsole Info: see attachment file console_err_info.jpg
Reporter | ||
Comment 1•7 years ago
|
||
on x86 platform: webextension support.
on mips64 platform: webextension not support.
Component: Untriaged → WebExtensions: Untriaged
Product: Firefox → Toolkit
Hardware: Unspecified → Other
Comment 2•7 years ago
|
||
MIPS is not officially supported, but we'd be willing to take a non-invasive patch for this.
Priority: -- → P5
Comment 3•7 years ago
|
||
I'm not sure what's going on but mips isn't a platform that we officially support and we don't have access to a mips machine to troubleshoot this.. From the first visible line in your screenshot, though it looks like there might be other build/packaging issues going on.
Reporter | ||
Comment 4•7 years ago
|
||
I just use mach build command to build firefox52.
I didthe following experiment
1)firefox52 is failed, but firefox54 is ok.
2)Replace file (toolkit/components/extensions/Schemas.jsm) from firefox54 to firefox52 is ok too.
3)I annotate line 721 (toolkit/components/extensions/Schemas.jsm) is ok too.
static checkSchemaProperties(schema, path, extra = []) {
let allowedSet = new Set([...this.EXTRA_PROPERTIES, ...extra]);
let log = Log.repository.getLogger("MyExtension.MyClass");
log.level = Log.Level.Warn;
log.addAppender(new Log.ConsoleAppender(new Log.BasicFormatter()));
log.addAppender(new Log.DumpAppender(new Log.BasicFormatter()));
for (let prop of Object.keys(schema)) {
//log.warn("Here is an Info", {"prop": prop});
//if (!allowedSet.has(prop)) {
// throw new Error(`Internal error: Namespace ${path.join(".")} has invalid type property "${prop}" in type "${sch
ema.id || JSON.stringify(schema)}"`);
// }
}
}
could somebody give me some instruction to solve this problem?
Flags: needinfo?(amckay)
Comment 5•7 years ago
|
||
I'm sorry, but you're more or less on your own here unless you can reproduce the problem on a supported platform.
Flags: needinfo?(amckay)
Updated•6 years ago
|
Product: Toolkit → WebExtensions
Comment 6•6 years ago
|
||
Bulk move of bugs per https://bugzilla.mozilla.org/show_bug.cgi?id=1483958
Component: Untriaged → General
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•