Lines Matching refs:rs
31 const rs = recordingReadableStream({ constant
43 …return promise_rejects_exactly(t, error2, rs.pipeTo(ws), 'pipeTo must reject with the writable str…
44 assert_array_equals(rs.events, []);
48 …promise_rejects_exactly(t, error1, rs.getReader().closed, 'the readable stream must be errored wit…
56 const rs = recordingReadableStream({ constant
63 ….then(ws => promise_rejects_exactly(t, error1, rs.pipeTo(ws), 'pipeTo must reject with the readabl…
65 assert_array_equals(rs.events, []);
67 …return promise_rejects_exactly(t, error1, rs.getReader().closed, 'the readable stream must be erro…
72 const rs = recordingReadableStream({ constant
83 return promise_rejects_exactly(t, error1, rs.pipeTo(ws, { preventAbort: true }),
86 assert_array_equals(rs.events, []);
90 …promise_rejects_exactly(t, error1, rs.getReader().closed, 'the readable stream must be errored wit…
98 const rs = recordingReadableStream({ constant
104 .then(ws => promise_rejects_exactly(t, error1, rs.pipeTo(ws, { preventAbort: true }),
107 assert_array_equals(rs.events, []);
109 …return promise_rejects_exactly(t, error1, rs.getReader().closed, 'the readable stream must be erro…
115 const rs = recordingReadableStream({ constant
125 …return promise_rejects_exactly(t, error1, rs.pipeTo(ws), 'pipeTo must reject with the readable str…
126 assert_array_equals(rs.events, []);
130 …promise_rejects_exactly(t, error1, rs.getReader().closed, 'the readable stream must be errored wit…
141 const rs = recordingReadableStream({ constant
152 …return promise_rejects_exactly(t, error1, rs.pipeTo(ws), 'pipeTo must reject with the readable str…
153 assert_array_equals(rs.events, []);
157 …promise_rejects_exactly(t, error1, rs.getReader().closed, 'the readable stream must be errored wit…
167 const rs = recordingReadableStream({ constant
178 …return promise_rejects_exactly(t, error1, rs.pipeTo(ws), 'pipeTo must reject with the writable str…
179 assert_array_equals(rs.events, []);
183 rs.getReader().closed,
191 const rs = recordingReadableStream({ constant
197 ….then(ws => promise_rejects_exactly(t, error2, rs.pipeTo(ws), 'pipeTo must reject with the writabl…
199 assert_array_equals(rs.events, []);
201 return rs.getReader().closed;
207 const rs = recordingReadableStream({ constant
217 return rs.pipeTo(ws).then(() => {
218 assert_array_equals(rs.events, []);
222 rs.getReader().closed,