icecat: add release icecat-140.6.0-1gnu1 for aramo

This commit is contained in:
Ark74 2026-01-17 18:56:47 -06:00
parent 92fef42cd6
commit 17ba0259bf
3382 changed files with 457689 additions and 569094 deletions

View file

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