blob: dff3da3bb5d915442c374038aea3a76926901171 [file] [log] [blame]
PASS Service worker test setup
PASS Underlying source start: throwing getter
PASS Underlying source start: throwing method
FAIL Underlying source: throwing pull getter (initial pull) assert_throws: constructor should throw function "() => new ReadableStream({
get pull() {
throw theError;
}
})" did not throw
PASS Underlying source: throwing pull method (initial pull)
FAIL Underlying source pull: throwing getter (second pull does not result in a second get) promise_test: Unhandled rejection with value: object "Error: a unique string"
PASS Underlying source pull: throwing method (second pull)
FAIL Underlying source cancel: throwing getter assert_throws: constructor should throw function "() => new ReadableStream({
get cancel() {
throw theError;
}
})" did not throw
PASS Underlying source cancel: throwing method
PASS Underlying source: calling enqueue on an empty canceled stream should throw
PASS Underlying source: calling enqueue on a non-empty canceled stream should throw
PASS Underlying source: calling enqueue on a closed stream should throw
PASS Underlying source: calling enqueue on an errored stream should throw
PASS Underlying source: calling close twice on an empty stream should throw the second time
PASS Underlying source: calling close twice on a non-empty stream should throw the second time
PASS Underlying source: calling close on an empty canceled stream should throw
PASS Underlying source: calling close on a non-empty canceled stream should throw
PASS Underlying source: calling close after error should throw
PASS Underlying source: calling error twice should not throw
PASS Underlying source: calling error after close should not throw
PASS Underlying source: calling error and returning a rejected promise from start should cause the stream to error with the first error
PASS Underlying source: calling error and returning a rejected promise from pull should cause the stream to error with the first error
PASS read should not error if it dequeues and pull() throws