mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 700202 - Propagate exceptions from ConstructSlimWrapper (r=bholley)
--HG-- extra : rebase_source : 8ce6d12e100a2e3639c4d1fddbadee25e6dd12cf
This commit is contained in:
parent
5e5f0351b2
commit
86a46c0c75
@ -1036,6 +1036,9 @@ XPCConvert::NativeInterface2JSObject(XPCLazyCallContext& lccx,
|
||||
return true;
|
||||
}
|
||||
|
||||
if (JS_IsExceptionPending(cx))
|
||||
return false;
|
||||
|
||||
// Even if ConstructSlimWrapper returns false it might have created a
|
||||
// wrapper (while calling the PreCreate hook). In that case we need to
|
||||
// fall through because we either have a slim wrapper that needs to be
|
||||
|
Loading…
Reference in New Issue
Block a user