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
|
|
@ -38,6 +38,11 @@ void AbortSignalImpl::GetReason(JSContext* aCx,
|
|||
}
|
||||
MaybeAssignAbortError(aCx);
|
||||
aReason.set(mReason);
|
||||
if (NS_WARN_IF(!JS_WrapValue(aCx, aReason))) {
|
||||
aReason.setUndefined();
|
||||
// TODO(Bug 2026137) - AbortSignalImpl::GetReason should be made fallible
|
||||
JS_ClearPendingException(aCx);
|
||||
}
|
||||
}
|
||||
|
||||
JS::Value AbortSignalImpl::RawReason() const { return mReason.get(); }
|
||||
|
|
@ -75,7 +80,7 @@ void AbortSignalImpl::RunAbortSteps() {
|
|||
// https://dom.spec.whatwg.org/#abortsignal-remove could be invoked in an
|
||||
// earlier algorithm to remove a later algorithm, so |mFollowers| must be a
|
||||
// |nsTObserverArray| to defend against mutation.
|
||||
for (RefPtr<AbortFollower>& follower : mFollowers.ForwardRange()) {
|
||||
for (RefPtr<AbortFollower> follower : mFollowers.ForwardRange()) {
|
||||
MOZ_ASSERT(follower->mFollowingSignal == this);
|
||||
follower->RunAbortAlgorithm();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue