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:
parent
785fbe7f7a
commit
c7d84847c9
@ -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);
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user