mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 961208 part 1. When doing a DoNewResolve for Xrays, pass the Xray, not the underlying object, to DoNewResolve, in case people want to do permissions checks on the object. r=bholley
This commit is contained in:
parent
4a61f7bb0c
commit
376113e4f2
@ -7723,7 +7723,7 @@ class CGResolveOwnPropertyViaNewresolve(CGAbstractBindingMethod):
|
||||
def generate_code(self):
|
||||
return CGIndenter(CGGeneric(
|
||||
"JS::Rooted<JS::Value> value(cx);\n"
|
||||
"if (!self->DoNewResolve(cx, obj, id, &value)) {\n"
|
||||
"if (!self->DoNewResolve(cx, wrapper, id, &value)) {\n"
|
||||
" return false;\n"
|
||||
"}\n"
|
||||
"if (!value.isUndefined()) {\n"
|
||||
|
Loading…
Reference in New Issue
Block a user