зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1203748 - Add Windows 10 to DEVTOOLS_OS_ENUMERATED_PER_USER. r=pbrosset
This commit is contained in:
Родитель
bf4a59e913
Коммит
1e135cdd15
|
@ -7241,7 +7241,7 @@
|
|||
"expires_in_version": "never",
|
||||
"kind": "enumerated",
|
||||
"n_values": 13,
|
||||
"description": "OS of DevTools user (0:Windows XP, 1:Windows Vista, 2:Windows 7, 3:Windows 8, 4:Windows 8.1, 5:OSX, 6:Linux 7:reserved, 8:reserved, 9:reserved, 10:reserved, 11:reserved, 12:other)"
|
||||
"description": "OS of DevTools user (0:Windows XP, 1:Windows Vista, 2:Windows 7, 3:Windows 8, 4:Windows 8.1, 5:OSX, 6:Linux 7:Windows 10, 8:reserved, 9:reserved, 10:reserved, 11:reserved, 12:other)"
|
||||
},
|
||||
"DEVTOOLS_OS_IS_64_BITS_PER_USER": {
|
||||
"expires_in_version": "never",
|
||||
|
|
|
@ -282,7 +282,9 @@ function getOSCPU() {
|
|||
if (oscpu.includes("Linux")) {
|
||||
return 6;
|
||||
}
|
||||
|
||||
if (oscpu.includes("NT 10.")) {
|
||||
return 7;
|
||||
}
|
||||
// Other OS.
|
||||
return 12;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче