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:
rginda%netscape.com 2001-06-07 00:50:20 +00:00
Родитель c738450f77
Коммит 0d5cf581b6
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -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)
{