mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
Bug 978127 - Update various win8 specific australis customized ui tests to use new Services.metro.supported prop. r=gijs
This commit is contained in:
parent
8f1a74a6da
commit
489491b4d6
@ -60,12 +60,9 @@ function resetCustomization() {
|
||||
}
|
||||
|
||||
function isInWin8() {
|
||||
let sysInfo = Services.sysinfo;
|
||||
let osName = sysInfo.getProperty("name");
|
||||
let version = sysInfo.getProperty("version");
|
||||
|
||||
// Windows 8 is version >= 6.2
|
||||
return osName == "Windows_NT" && version >= 6.2;
|
||||
if (!Services.metro)
|
||||
return false;
|
||||
return Services.metro.supported;
|
||||
}
|
||||
|
||||
function addSwitchToMetroButtonInWindows8(areaPanelPlacements) {
|
||||
|
Loading…
Reference in New Issue
Block a user