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
|
|
@ -89,7 +89,8 @@ bool ReadableStreamReaderGenericInitialize(ReadableStreamGenericReader* aReader,
|
|||
// Step 5.1 Implicit
|
||||
// Step 5.2
|
||||
JS::RootingContext* rcx = RootingCx();
|
||||
JS::Rooted<JS::Value> rootedError(rcx, aStream->StoredError());
|
||||
// MaybeReject will wrap the value for us.
|
||||
JS::Rooted<JS::Value> rootedError(rcx, aStream->UnsafeStoredError());
|
||||
aReader->ClosedPromise()->MaybeReject(rootedError);
|
||||
|
||||
// Step 5.3
|
||||
|
|
@ -224,7 +225,11 @@ void ReadableStreamDefaultReaderRead(JSContext* aCx,
|
|||
}
|
||||
|
||||
case ReadableStream::ReaderState::Errored: {
|
||||
JS::Rooted<JS::Value> storedError(aCx, stream->StoredError());
|
||||
JS::Rooted<JS::Value> storedError(aCx);
|
||||
stream->GetStoredError(aCx, &storedError, aRv);
|
||||
if (aRv.Failed()) {
|
||||
return;
|
||||
}
|
||||
aRequest->ErrorSteps(aCx, storedError, aRv);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue