зеркало из https://github.com/mozilla/pjs.git
chatzilla only. bug 79311, chatzilla doesn't always connect properly
r=samuel@sieb.net, rs=brendan@mozilla.org, a=asa@mozilla.org - fix HAS_XPCOM test (XPCDOM broke it.) - add jsenv.HAS_NSPR_EVENTQ
This commit is contained in:
Родитель
c738450f77
Коммит
0d5cf581b6
|
@ -53,11 +53,12 @@ else
|
|||
var jsenv = new Object();
|
||||
jsenv.HAS_SECURITYMANAGER = ((typeof netscape == "object") &&
|
||||
(typeof netscape.security == "object"));
|
||||
jsenv.HAS_XPCOM = ((typeof Components == "function") &&
|
||||
(typeof Components.classes == "function"));
|
||||
jsenv.HAS_XPCOM = ((typeof Components == "object") &&
|
||||
(typeof Components.classes == "object"));
|
||||
jsenv.HAS_JAVA = (typeof java == "object");
|
||||
jsenv.HAS_RHINO = (typeof defineClass == "function");
|
||||
jsenv.HAS_DOCUMENT = (typeof document == "object");
|
||||
jsenv.HAS_NSPR_EVENTQ = jsenv.HAS_DOCUMENT;
|
||||
|
||||
function dumpObject (o, pfx, sep)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче