mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-16 06:54:00 +00:00
Bug 874318 - Don't allow CALL on XOWs. r=mrbkap
This commit is contained in:
parent
d73a980e09
commit
b433ae35b8
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user