Home
last modified time | relevance | path

Searched refs:writePromise (Results 1 – 17 of 17) sorted by relevance

/third_party/node/test/fixtures/wpt/encoding/streams/
Ddecode-non-utf8.any.js47 const writePromise = writer.write(new Uint8Array(encoding.value)); constant
51 await writePromise;
61 const writePromise = writer.write(new Uint8Array(encoding.invalid)); constant
66 await Promise.all([writePromise, closePromise]);
74 const writePromise = writer.write(new Uint8Array(encoding.invalid)); constant
79 Promise.all([writePromise, closePromise]),
Dbackpressure.any.js25 const writePromise = writer.write(streamClass.input); constant
26 writePromise.then(() => events.push('write'));
31 await writePromise;
Drealms.window.js172 const writePromise = writeInWriteRealm(objId, 'A');
174 await writePromise;
218 const writePromise = writeInWriteRealm(objId, new Uint8Array([65]));
220 await writePromise;
Ddecode-bad-chunks.any.js33 const writePromise = writer.write(chunk.value); constant
35 await promise_rejects_js(t, TypeError, writePromise, 'write should reject');
Dencode-bad-chunks.any.js14 const writePromise = writer.write({ constant
20 promise_rejects_exactly(t, error1, writePromise, 'write should reject with error1'),
/third_party/node/test/fixtures/wpt/streams/writable-streams/
Daborting.any.js18 const writePromise = writer.write('a'); constant
28 … promise_rejects_exactly(t, error1, writePromise, 'the write() promise should reject with error1')
223 const writePromise = promise_rejects_exactly(t, error1, writer.write('a'), constant
228 return writePromise;
325 const writePromise = writer.write('a'); constant
329writePromise.then(() => assert_false(closedRejected, '.closed should not resolve before write()')),
345 const writePromise = writer.write('a'); constant
349 promise_rejects_exactly(t, error1, writePromise, 'write() should reject')
582 let writePromise; variable
595 writePromise = writer.write('a');
[all …]
Dwrite.any.js60 const writePromise = writer.write('a'); constant
61 return writePromise
81 const writePromise = writer.write('a'); constant
88 writePromise.then(value => {
124 const writePromise = writer.write('a'); constant
141 promise_rejects_exactly(t, error1, writePromise,
216 const writePromise = writer.write('a'); constant
222 return writePromise
Dreentrant-strategy.any.js78 const writePromise = promise_rejects_exactly(t, error1, writer.write(), constant
85 return Promise.all([readyPromise1, writePromise, readyPromise2, closedPromise])
138 …const writePromise = promise_rejects_js(t, TypeError, writer.write('a'), 'write() promise should r… constant
141 return Promise.all([writePromise, readyPromise, closedPromise])
Dstart.any.js129 const writePromise = writer.write('a'); constant
134 promise_rejects_exactly(t, error1, writePromise, 'write() should fail'),
Dbad-underlying-sinks.any.js116 const writePromise = writer.write('a'); constant
120 … promise_rejects_exactly(t, error1, writePromise, 'writer write must reject with the same error'),
Dclose.any.js383 const writePromise = writer.write('c'); constant
394 writePromise,
/third_party/node/test/fixtures/wpt/streams/transform-streams/
Derrors.any.js170 const writePromise = writer.write('a'); constant
175 promise_rejects_exactly(t, thrownError, writePromise, 'writePromise should reject'),
187 const writePromise = ts.writable.getWriter().write('a'); constant
190 promise_rejects_exactly(t, thrownError, writePromise, 'write() should reject'),
221 const writePromise = writer.write(); constant
226 writePromise,
308 const writePromise = writer.write('b'); constant
312 … return promise_rejects_exactly(t, thrownError, writePromise, 'write() should reject').then(() => {
323 const writePromise = writer.write(0); constant
330 promise_rejects_exactly(t, thrownError, writePromise, 'write() should reject'),
Dreentrant-strategies.any.js179 const writePromise = writer.write('b').then(() => { constant
196 return writePromise;
233 let writePromise; variable
243 writePromise = writer.write('a');
255 return Promise.all([writePromise, writer.close()]);
Dgeneral.any.js318 const writePromise = writer.write('a'); constant
321 return writePromise;
334 const writePromise = ts.writable.getWriter().write(); constant
336 return writePromise;
Dstrategies.any.js84 const writePromise = ts.writable.getWriter().write(); constant
85 return ts.readable.getReader().read().then(() => writePromise);
Dbackpressure.any.js156 const writePromise = writer.write('a'); constant
158 return writePromise;
/third_party/node/test/fixtures/wpt/streams/piping/
Dabort.any.js160 const writePromise = new Promise(resolve => { constant
165 return writePromise;
343 const writePromise = new Promise(resolve => { constant
349 return writePromise;