Fixes for bug 927. JS timer code can deal with the window closing in a timer callback. NamedItem gets called for unknown integer property values as well. Added nsCOMPtr generation option to idlc. Fixed warnings in generated code.

This commit is contained in:
vidur@netscape.com
1999-06-11 21:49:41 +00:00
parent b6c61bf238
commit 1dbd682463
108 changed files with 369 additions and 256 deletions
+2 -2
View File
@@ -74,7 +74,7 @@ GetHTMLTableRowElementProperty(JSContext *cx, JSObject *obj, jsval id, jsval *vp
if (JSVAL_IS_INT(id)) {
nsIScriptContext *scriptCX = (nsIScriptContext *)JS_GetContextPrivate(cx);
nsIScriptSecurityManager *secMan;
PRBool ok;
PRBool ok = PR_FALSE;
if (NS_OK != scriptCX->GetSecurityManager(&secMan)) {
return JS_FALSE;
}
@@ -237,7 +237,7 @@ SetHTMLTableRowElementProperty(JSContext *cx, JSObject *obj, jsval id, jsval *vp
if (JSVAL_IS_INT(id)) {
nsIScriptContext *scriptCX = (nsIScriptContext *)JS_GetContextPrivate(cx);
nsIScriptSecurityManager *secMan;
PRBool ok;
PRBool ok = PR_FALSE;
if (NS_OK != scriptCX->GetSecurityManager(&secMan)) {
return JS_FALSE;
}