зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1167627 - Part 8: Use mozinfo in image/.
This commit is contained in:
Родитель
aaf4ad90ac
Коммит
14fcfc3d81
|
@ -130,7 +130,7 @@ if (!imgTools)
|
|||
// different set of reference images. nsIXULRuntime.OS doesn't seem to be
|
||||
// available in xpcshell, so we'll use this as a kludgy way to figure out if
|
||||
// we're running on Windows.
|
||||
var isWindows = ("@mozilla.org/windows-registry-key;1" in Cc);
|
||||
var isWindows = mozinfo.os == "win";
|
||||
|
||||
|
||||
/* ========== 1 ========== */
|
||||
|
|
Загрузка…
Ссылка в новой задаче