icecat: add release icecat-140.10.1-1gnu1 for ecne
This commit is contained in:
parent
a5f93cb214
commit
ff85d7c623
1256 changed files with 63469 additions and 24141 deletions
|
|
@ -265,8 +265,12 @@ class TransformStreamUnderlyingSinkAlgorithms final
|
|||
// Step 3: If state is "erroring", throw
|
||||
// writable.[[storedError]].
|
||||
if (state == WritableStream::WriterState::Erroring) {
|
||||
JS::Rooted<JS::Value> storedError(aCx,
|
||||
writable->StoredError());
|
||||
JS::Rooted<JS::Value> storedError(aCx);
|
||||
writable->GetStoredError(aCx, &storedError, aRv);
|
||||
if (aRv.Failed()) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
aRv.MightThrowJSException();
|
||||
aRv.ThrowJSException(aCx, storedError);
|
||||
return nullptr;
|
||||
|
|
@ -361,8 +365,12 @@ class TransformStreamUnderlyingSinkAlgorithms final
|
|||
// readable.[[storedError]].
|
||||
if (aReadable->State() ==
|
||||
ReadableStream::ReaderState::Errored) {
|
||||
JS::Rooted<JS::Value> storedError(aCx,
|
||||
aReadable->StoredError());
|
||||
JS::Rooted<JS::Value> storedError(aCx);
|
||||
aReadable->GetStoredError(aCx, &storedError, aRv);
|
||||
if (aRv.Failed()) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
aRv.MightThrowJSException();
|
||||
aRv.ThrowJSException(aCx, storedError);
|
||||
return nullptr;
|
||||
|
|
@ -389,8 +397,12 @@ class TransformStreamUnderlyingSinkAlgorithms final
|
|||
}
|
||||
|
||||
// Step 5.2.2: Throw readable.[[storedError]].
|
||||
JS::Rooted<JS::Value> storedError(aCx,
|
||||
aReadable->StoredError());
|
||||
JS::Rooted<JS::Value> storedError(aCx);
|
||||
aReadable->GetStoredError(aCx, &storedError, aRv);
|
||||
if (aRv.Failed()) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
aRv.MightThrowJSException();
|
||||
aRv.ThrowJSException(aCx, storedError);
|
||||
return nullptr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue