Bug 874318 - Don't allow CALL on XOWs. r=mrbkap

This commit is contained in:
Bobby Holley 2013-05-22 22:27:16 -06:00
parent 346f85a57c
commit 4d51cd1086

View File

@ -222,7 +222,7 @@ AccessCheck::isCrossOriginAccessPermitted(JSContext *cx, JSObject *wrapperArg, j
return true;
if (act == Wrapper::CALL)
return true;
return false;
RootedId id(cx, idArg);
RootedObject wrapper(cx, wrapperArg);