icecat: add release icecat-140.6.0-1gnu1 for ecne
This commit is contained in:
parent
618c9f4145
commit
7d0f5dab3b
3382 changed files with 457689 additions and 569094 deletions
|
|
@ -199,7 +199,11 @@ void WorkletJSContext::ReportError(JSErrorReport* aReport,
|
|||
RefPtr<AsyncErrorReporter> reporter = new AsyncErrorReporter(xpcReport);
|
||||
|
||||
JSContext* cx = Context();
|
||||
if (JS_IsExceptionPending(cx)) {
|
||||
// NOTE: This function is used both for errors and warnings, and warnings
|
||||
// can be reported while there's a pending exception.
|
||||
// Warnings are always reported with non-null JSErrorReport.
|
||||
if (!aReport || !aReport->isWarning()) {
|
||||
MOZ_ASSERT(JS_IsExceptionPending(cx));
|
||||
JS::ExceptionStack exnStack(cx);
|
||||
if (JS::StealPendingExceptionStack(cx, &exnStack)) {
|
||||
JS::Rooted<JSObject*> stack(cx);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue