merge b2g-inbound to mozilla-central

This commit is contained in:
Carsten "Tomcat" Book 2013-10-15 10:27:51 +02:00
Родитель ed0fc0853f 5d64f58cde
Коммит c079fe98d2
2 изменённых файлов: 11 добавлений и 2 удалений

Просмотреть файл

@ -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;
}
}