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