Lines Matching refs:ready
80 return writer.ready.then(() => {
94 writer.ready.then(value => {
95 assert_equals(resolveSinkWritePromise, undefined, 'sinkWritePromise should be fulfilled before writer.ready');
96 assert_true(writePromiseResolved, 'writePromise should be fulfilled before writer.ready');
123 return writer.ready.then(() => {
185 promise_rejects_exactly(t, error1, writer.ready,
186 'writer.ready must reject with the error passed to the controller'),
191 }, 'writer.write(), ready and closed reject with the error passed to controller.error() made before sink.write' +
212 return writer.ready.then(() => {
234 return writer.ready.then(() => {
274 promise_rejects_exactly(t, error1, writer.ready, 'ready should be rejected'),
277 }, 'write() on a stream with HWM 0 should not cause the ready Promise to resolve');