83ba88
# HG changeset patch
83ba88
# Parent  a25cebecb02d5460b8ad757fe9cb4a9c8d1d7658
83ba88
Eliminate startup error message:
83ba88
JavaScript error: , line 0: Error: Type error for platformInfo value (Error processing arch: Invalid enumeration value "s390x") for runtime.getPlatformInfo.
83ba88
83ba88
Reported here: https://bugzilla.mozilla.org/show_bug.cgi?id=1554971
83ba88
83ba88
Uncertain if this is causing real problems or not. Also uncertain if the fix actually fixes anything.
83ba88
No response from upstream yet.
83ba88
83ba88
diff -r a25cebecb02d -r 378b81b00e73 toolkit/components/extensions/schemas/runtime.json
83ba88
--- a/toolkit/components/extensions/schemas/runtime.json	Fri Jul 05 12:42:44 2019 +0200
83ba88
+++ b/toolkit/components/extensions/schemas/runtime.json	Fri Jul 19 13:19:30 2019 +0200
83ba88
@@ -64,7 +64,7 @@
83ba88
       {
83ba88
         "id": "PlatformArch",
83ba88
         "type": "string",
83ba88
-        "enum": ["arm", "x86-32", "x86-64"],
83ba88
+        "enum": ["arm", "x86-32", "x86-64", "s390x", "aarch64", "ppc64le"],
83ba88
         "allowedContexts": ["content", "devtools"],
83ba88
         "description": "The machine's processor architecture."
83ba88
       },