зеркало из https://github.com/mozilla/gecko-dev.git
Bug 754044 - Pass stopAtOuter=false in GetWrappedNativeOfJSObject, because that's what we mean. r=mrbkap
This commit is contained in:
Родитель
1da4588f12
Коммит
cb4408c322
|
@ -1850,8 +1850,8 @@ return_tearoff:
|
|||
|
||||
// Unwrap any wrapper wrappers.
|
||||
JSObject *unsafeObj = cx
|
||||
? XPCWrapper::Unwrap(cx, cur)
|
||||
: XPCWrapper::UnsafeUnwrapSecurityWrapper(cur);
|
||||
? XPCWrapper::Unwrap(cx, cur, /* stopAtOuter = */ false)
|
||||
: js::UnwrapObject(cur, /* stopAtOuter = */ false);
|
||||
if (unsafeObj) {
|
||||
obj = unsafeObj;
|
||||
goto restart;
|
||||
|
|
Загрузка…
Ссылка в новой задаче