mozilla-bmo1554971.patch
branchfirefox68
changeset 1101 a4709640638e
child 1123 7fa561e5d7c7
equal deleted inserted replaced
1100:e1c5065a014f 1101:a4709640638e
       
     1 # HG changeset patch
       
     2 # Parent  a25cebecb02d5460b8ad757fe9cb4a9c8d1d7658
       
     3 Eliminate startup error message:
       
     4 JavaScript error: , line 0: Error: Type error for platformInfo value (Error processing arch: Invalid enumeration value "s390x") for runtime.getPlatformInfo.
       
     5 
       
     6 Reported here: https://bugzilla.mozilla.org/show_bug.cgi?id=1554971
       
     7 
       
     8 Uncertain if this is causing real problems or not. Also uncertain if the fix actually fixes anything.
       
     9 No response from upstream yet.
       
    10 
       
    11 diff -r a25cebecb02d -r 378b81b00e73 toolkit/components/extensions/schemas/runtime.json
       
    12 --- a/toolkit/components/extensions/schemas/runtime.json	Fri Jul 05 12:42:44 2019 +0200
       
    13 +++ b/toolkit/components/extensions/schemas/runtime.json	Fri Jul 19 13:19:30 2019 +0200
       
    14 @@ -64,7 +64,7 @@
       
    15        {
       
    16          "id": "PlatformArch",
       
    17          "type": "string",
       
    18 -        "enum": ["arm", "x86-32", "x86-64"],
       
    19 +        "enum": ["arm", "x86-32", "x86-64", "s390x", "aarch64", "ppc64le"],
       
    20          "allowedContexts": ["content", "devtools"],
       
    21          "description": "The machine's processor architecture."
       
    22        },