these files were not supposed to have been committed, reverting to previous version. sorry

git-svn-id: svn://10.0.0.236/trunk@90235 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
timeless%mac.com 2001-03-23 09:41:36 +00:00
parent 785fbe7f7a
commit c7d84847c9
2 changed files with 2 additions and 1 deletions

View File

@ -1027,7 +1027,7 @@ GetWindowProperty(JSContext *cx, JSObject *obj, jsval id, jsval *vp)
{
JSObject* global = JS_GetGlobalObject(cx);
if (global != obj) {
secMan = nsJSUtils::nsGetSecurityManager(cx, obj);
nsIScriptSecurityManager *secMan = nsJSUtils::nsGetSecurityManager(cx, obj);
rv = secMan->CheckScriptAccess(cx, obj,
NS_DOM_PROP_WINDOW_SCRIPTGLOBALS,
PR_FALSE);

View File

@ -230,6 +230,7 @@ GetHTMLSelectElementProperty(JSContext *cx, JSObject *obj, jsval id, jsval *vp)
nsIDOMNode* prop;
nsIDOMNSHTMLSelectElement* b;
if (NS_OK == a->QueryInterface(kINSHTMLSelectElementIID, (void **)&b)) {
nsresult result = NS_OK;
rv = b->Item(JSVAL_TO_INT(id), &prop);
if (NS_SUCCEEDED(rv)) {
// get the js object