Lines Matching refs:getReader
34 assert_throws_js(TypeError, () => rs.getReader(), 'getReader() should fail');
42 rs.getReader(); // getReader() should be fine.
50 rs.getReader(); // getReader() should be fine.
51 assert_throws_js(TypeError, () => rs.getReader(), 'getReader() should fail');
88 const reader = rs.getReader();
106 assert_throws_js(TypeError, () => rs.getReader(), 'should not be able to get another reader');
112 const reader = rs.getReader();
126 const reader = rs.getReader();
143 const reader1 = rs.getReader();
147 const reader2 = rs.getReader();
166 const reader = rs.getReader();
192 const reader = rs.getReader();
218 const reader1 = rs.getReader();
224 const reader2 = rs.getReader();
241 const reader1 = rs.getReader();
244 const reader2 = rs.getReader();
267 const reader = rs.getReader();
271 const reader2 = rs.getReader();
295 const reader1 = rs.getReader();
302 …assert_throws_js(TypeError, () => rs.getReader(), 'trying to get another reader before erroring sh…
308 const reader2 = rs.getReader();
328 const promise = rs.getReader().closed.then(
349 return rs.getReader().read().then(
369 const promise = promise_rejects_exactly(t, theError, rs.getReader().closed);
389 rs.getReader().releaseLock();
391 return promise_rejects_exactly(t, theError, rs.getReader().closed);
403 const reader = rs.getReader();
430 const reader = rs.getReader();
456 const reader = rs.getReader();
476 const reader = rs.getReader();
498 assert_throws_js(TypeError, () => rs.getReader({ mode }), 'getReader() should throw');
509 const reader = rs.getReader();
525 const reader1 = rs.getReader();
531 const reader2 = rs.getReader();