Searched refs:closedPromise (Results 1 – 6 of 6) sorted by relevance
/third_party/node/test/fixtures/wpt/streams/readable-streams/ |
D | garbage-collection.any.js | 29 const closedPromise = new ReadableStream({ 37 return delay(50).then(() => controller.close()).then(() => closedPromise); 46 const closedPromise = new ReadableStream({ 55 .then(() => promise_rejects_exactly(t, theError, closedPromise));
|
/third_party/node/test/fixtures/wpt/streams/writable-streams/ |
D | reentrant-strategy.any.js | 83 …const closedPromise = promise_rejects_exactly(t, error1, writer.closed, 'closed should reject with… constant 85 return Promise.all([readyPromise1, writePromise, readyPromise2, closedPromise]) 140 …const closedPromise = promise_rejects_js(t, TypeError, writer.closed, 'closed promise should rejec… constant 141 return Promise.all([writePromise, readyPromise, closedPromise])
|
D | close.any.js | 214 const closedPromise = writer.closed; constant 218 promise_rejects_js(t, TypeError, closedPromise, '.closed promise should be rejected') 232 const closedPromise = writer.closed; constant 236 promise_rejects_js(t, TypeError, closedPromise, '.closed promise should be rejected')
|
D | general.any.js | 235 const closedPromise = writer.closed.catch(() => events.push('closed')); constant 237 return Promise.all([readyPromise, closedPromise]).then(() => {
|
D | write.any.js | 132 const closedPromise = writer.close(); constant 137 promise_rejects_exactly(t, error1, closedPromise,
|
/third_party/node/test/fixtures/wpt/streams/transform-streams/ |
D | errors.any.js | 154 const closedPromise = writer.closed; constant 157 promise_rejects_exactly(t, thrownError, closedPromise, 'closed should throw a TypeError') 188 const closedPromise = ts.readable.getReader().closed; constant 191 promise_rejects_exactly(t, thrownError, closedPromise, 'reader.closed should reject')
|