Home
last modified time | relevance | path

Searched refs:closePromise (Results 1 – 10 of 10) sorted by relevance

/third_party/node/test/fixtures/wpt/streams/writable-streams/
Dclose.any.js21 const closePromise = writer.close(); constant
22 …return closePromise.then(value => assert_equals(value, undefined, 'fulfillment value must be undef…
42 const closePromise = writer.close(); constant
49 closePromise,
213 const closePromise = writer.close(); constant
217 closePromise,
231 const closePromise = writer.close(); constant
235 closePromise,
252 const closePromise = writer.close(); constant
256 return closePromise.then(() => {
[all …]
Daborting.any.js235 const closePromise = writer.close(); constant
240 promise_rejects_exactly(t, error1, closePromise, 'close() should reject with error1'),
258 const closePromise = writer.close(); constant
266 closePromise
482 const closePromise = writer.close(); constant
488 …return promise_rejects_exactly(t, error1, closePromise, 'close should reject with the same reason'…
510 const closePromise = writer.close(); constant
518 …return promise_rejects_exactly(t, error1, closePromise, 'promise returned by close() should be rej…
546 const closePromise = writer.close(); constant
550 closePromise.then(() => { events.push('close'); }),
[all …]
Dreentrant-strategy.any.js151 let closePromise; variable
159 closePromise = writer2.close();
170 …return Promise.all([writePromise1, readyPromise, closedPromise1, writePromise2, closePromise, clos…
Dstart.any.js130 const closePromise = writer.close(); constant
135 promise_rejects_exactly(t, error1, closePromise, 'close() should fail')
Dgeneral.any.js149 const closePromise = writer.close(); constant
156 closePromise,
/third_party/node/test/fixtures/wpt/encoding/streams/
Ddecode-non-utf8.any.js62 const closePromise = writer.close(); constant
66 await Promise.all([writePromise, closePromise]);
75 const closePromise = writer.close(); constant
79 Promise.all([writePromise, closePromise]),
/third_party/node/test/fixtures/wpt/streams/piping/
Dmultiple-propagation.any.js122 const closePromise = writer.close(); constant
133 promise_rejects_exactly(t, error1, closePromise,
148 const closePromise = writer.close(); constant
159 closePromise
/third_party/node/test/fixtures/wpt/streams/transform-streams/
Dreentrant-strategies.any.js268 let closePromise; variable
276 closePromise = writer.close();
294 return closePromise;
Derrors.any.js171 const closePromise = writer.close(); constant
176 promise_rejects_exactly(t, thrownError, closePromise, 'closePromise should reject')]);
/third_party/node/test/parallel/
Dtest-worker-message-port-transfer-filehandle.js95 const closePromise = fh.close();
102 await closePromise;