mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1167627 - Part 9: Use mozinfo in services/. r=rnewman
This commit is contained in:
parent
dd1c422ef6
commit
4d526d411d
@ -13,9 +13,9 @@ catch(ex) {
|
||||
|
||||
// Make sure to provide the right OS so crypto loads the right binaries
|
||||
var OS = "XPCShell";
|
||||
if ("@mozilla.org/windows-registry-key;1" in Cc)
|
||||
if (mozinfo.os == "win")
|
||||
OS = "WINNT";
|
||||
else if ("nsILocalFileMac" in Ci)
|
||||
else if (mozinfo.os == "mac")
|
||||
OS = "Darwin";
|
||||
else
|
||||
OS = "Linux";
|
||||
|
@ -19,9 +19,9 @@ Services.prefs.setCharPref("identity.sync.tokenserver.uri", "http://token-server
|
||||
|
||||
// Make sure to provide the right OS so crypto loads the right binaries
|
||||
var OS = "XPCShell";
|
||||
if ("@mozilla.org/windows-registry-key;1" in Cc)
|
||||
if (mozinfo.os == "win")
|
||||
OS = "WINNT";
|
||||
else if ("nsILocalFileMac" in Ci)
|
||||
else if (mozinfo.os == "mac")
|
||||
OS = "Darwin";
|
||||
else
|
||||
OS = "Linux";
|
||||
|
Loading…
Reference in New Issue
Block a user