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
|
|
@ -36,6 +36,24 @@ TeeState::TeeState(ReadableStream* aStream, bool aCloneForBranch2)
|
|||
"cloneForBranch2 path is not implemented.");
|
||||
}
|
||||
|
||||
void TeeState::GetReason1(JSContext* aCx, JS::MutableHandle<JS::Value> aReason,
|
||||
ErrorResult& aRv) const {
|
||||
aReason.set(mReason1);
|
||||
if (!JS_WrapValue(aCx, aReason)) {
|
||||
aReason.setUndefined();
|
||||
aRv.StealExceptionFromJSContext(aCx);
|
||||
}
|
||||
}
|
||||
|
||||
void TeeState::GetReason2(JSContext* aCx, JS::MutableHandle<JS::Value> aReason,
|
||||
ErrorResult& aRv) const {
|
||||
aReason.set(mReason2);
|
||||
if (!JS_WrapValue(aCx, aReason)) {
|
||||
aReason.setUndefined();
|
||||
aRv.StealExceptionFromJSContext(aCx);
|
||||
}
|
||||
}
|
||||
|
||||
already_AddRefed<TeeState> TeeState::Create(ReadableStream* aStream,
|
||||
bool aCloneForBranch2,
|
||||
ErrorResult& aRv) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue