Home
last modified time | relevance | path

Searched refs:closedPromise (Results 1 – 6 of 6) sorted by relevance

/third_party/node/test/fixtures/wpt/streams/readable-streams/
Dgarbage-collection.any.js29 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/
Dreentrant-strategy.any.js83 …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])
Dclose.any.js214 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')
Dgeneral.any.js235 const closedPromise = writer.closed.catch(() => events.push('closed')); constant
237 return Promise.all([readyPromise, closedPromise]).then(() => {
Dwrite.any.js132 const closedPromise = writer.close(); constant
137 promise_rejects_exactly(t, error1, closedPromise,
/third_party/node/test/fixtures/wpt/streams/transform-streams/
Derrors.any.js154 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')