1 # HG changeset patch |
1 # HG changeset patch |
2 # Parent a25cebecb02d5460b8ad757fe9cb4a9c8d1d7658 |
2 # Parent 38d48db62539afe61d542c9d21e32d57d4b00a73 |
3 Eliminate startup error message: |
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. |
4 JavaScript error: , line 0: Error: Type error for platformInfo value (Error processing arch: Invalid enumeration value "s390x") for runtime.getPlatformInfo. |
5 |
5 |
6 Reported here: https://bugzilla.mozilla.org/show_bug.cgi?id=1554971 |
6 Reported here: https://bugzilla.mozilla.org/show_bug.cgi?id=1554971 |
7 |
7 |
8 Uncertain if this is causing real problems or not. Also uncertain if the fix actually fixes anything. |
8 Uncertain if this is causing real problems or not. Also uncertain if the fix actually fixes anything. |
9 No response from upstream yet. |
9 No response from upstream yet. |
10 |
10 |
11 diff -r a25cebecb02d -r 378b81b00e73 toolkit/components/extensions/schemas/runtime.json |
11 diff --git a/toolkit/components/extensions/schemas/runtime.json b/toolkit/components/extensions/schemas/runtime.json |
12 --- a/toolkit/components/extensions/schemas/runtime.json Fri Jul 05 12:42:44 2019 +0200 |
12 --- a/toolkit/components/extensions/schemas/runtime.json |
13 +++ b/toolkit/components/extensions/schemas/runtime.json Fri Jul 19 13:19:30 2019 +0200 |
13 +++ b/toolkit/components/extensions/schemas/runtime.json |
14 @@ -64,7 +64,7 @@ |
14 @@ -59,17 +59,17 @@ |
|
15 "type": "string", |
|
16 "allowedContexts": ["content", "devtools"], |
|
17 "description": "The operating system the browser is running on.", |
|
18 "enum": ["mac", "win", "android", "cros", "linux", "openbsd"] |
|
19 }, |
15 { |
20 { |
16 "id": "PlatformArch", |
21 "id": "PlatformArch", |
17 "type": "string", |
22 "type": "string", |
18 - "enum": ["arm", "x86-32", "x86-64"], |
23 - "enum": ["arm", "x86-32", "x86-64"], |
19 + "enum": ["arm", "x86-32", "x86-64", "s390x", "aarch64", "ppc64le"], |
24 + "enum": ["arm", "x86-32", "x86-64", "s390x", "aarch64", "ppc64le"], |
20 "allowedContexts": ["content", "devtools"], |
25 "allowedContexts": ["content", "devtools"], |
21 "description": "The machine's processor architecture." |
26 "description": "The machine's processor architecture." |
22 }, |
27 }, |
|
28 { |
|
29 "id": "PlatformInfo", |
|
30 "type": "object", |
|
31 "allowedContexts": ["content", "devtools"], |
|
32 "description": "An object containing information about the current platform.", |