icecat: add release icecat-140.10.1-1gnu1 for ecne

This commit is contained in:
Ark74 2026-05-04 16:58:41 -06:00
parent a5f93cb214
commit ff85d7c623
1256 changed files with 63469 additions and 24141 deletions

View file

@ -292,13 +292,21 @@ class ByteStreamTeeSourceAlgorithms final
return nullptr;
}
JS::Rooted<JS::Value> reason1(aCx, mTeeState->Reason1());
JS::Rooted<JS::Value> reason1(aCx);
mTeeState->GetReason1(aCx, &reason1, aRv);
if (aRv.Failed()) {
return nullptr;
}
if (!JS_SetElement(aCx, compositeReason, 0, reason1)) {
aRv.StealExceptionFromJSContext(aCx);
return nullptr;
}
JS::Rooted<JS::Value> reason2(aCx, mTeeState->Reason2());
JS::Rooted<JS::Value> reason2(aCx);
mTeeState->GetReason2(aCx, &reason2, aRv);
if (aRv.Failed()) {
return nullptr;
}
if (!JS_SetElement(aCx, compositeReason, 1, reason2)) {
aRv.StealExceptionFromJSContext(aCx);
return nullptr;