mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
merge b2g-inbound to mozilla-central
This commit is contained in:
commit
023a70de2a
@ -1,4 +1,4 @@
|
||||
{
|
||||
"revision": "4a8dcbcad9433e7cb0b619d80b041219e5946130",
|
||||
"revision": "8c2ad9ad3192687c13efe1eb0cd986d6214b4b5d",
|
||||
"repo_path": "/integration/gaia-central"
|
||||
}
|
||||
|
@ -114,7 +114,16 @@ Throw(JSContext* aCx, nsresult aRv, const char* aMessage)
|
||||
nsresult nr;
|
||||
if (NS_SUCCEEDED(existingException->GetResult(&nr)) &&
|
||||
aRv == nr) {
|
||||
// Just reuse the existing exception.
|
||||
// Reuse the existing exception.
|
||||
|
||||
// Clear pending exception
|
||||
runtime->SetPendingException(nullptr);
|
||||
|
||||
if (!ThrowExceptionObject(aCx, existingException)) {
|
||||
// If we weren't able to throw an exception we're
|
||||
// most likely out of memory
|
||||
JS_ReportOutOfMemory(aCx);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user