Lines Matching refs:reject
215 t.unreached_func('read() should not reject')
228 t.unreached_func('read() should not reject')
233 t.unreached_func('read() should not reject')
269 promise_rejects_js(t, TypeError, read1, 'first read should reject'),
270 promise_rejects_js(t, TypeError, read2, 'second read should reject'),
271 promise_rejects_js(t, TypeError, closed, 'closed should reject')
274 }, label + ': releasing the lock should reject all pending read requests');
286 }, label + ': releasing the lock should cause further read() calls to reject with a TypeError');
300 }, label + ': releasing the lock should cause closed calls to reject with a TypeError');
393 }, label + ': releasing the lock should cause closed to reject and change identity');
422 }, label + ': closed should reject with the error');
438 }, label + ': releasing the lock should cause closed to reject and change identity');
445 }, label + ': read() should reject with the error');
603 }, label + ': releasing the lock should cause further read() calls to reject with a TypeError');
699 }, `${label}: failing to cancel the original stream should cause cancel() to reject on branches`);