/third_party/node/test/fixtures/wpt/encoding/streams/ |
D | decode-non-utf8.any.js | 47 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]),
|
D | backpressure.any.js | 25 const writePromise = writer.write(streamClass.input); constant 26 writePromise.then(() => events.push('write')); 31 await writePromise;
|
D | realms.window.js | 172 const writePromise = writeInWriteRealm(objId, 'A'); 174 await writePromise; 218 const writePromise = writeInWriteRealm(objId, new Uint8Array([65])); 220 await writePromise;
|
D | decode-bad-chunks.any.js | 33 const writePromise = writer.write(chunk.value); constant 35 await promise_rejects_js(t, TypeError, writePromise, 'write should reject');
|
D | encode-bad-chunks.any.js | 14 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/ |
D | aborting.any.js | 18 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 329 …writePromise.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 …]
|
D | write.any.js | 60 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
|
D | reentrant-strategy.any.js | 78 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])
|
D | start.any.js | 129 const writePromise = writer.write('a'); constant 134 promise_rejects_exactly(t, error1, writePromise, 'write() should fail'),
|
D | bad-underlying-sinks.any.js | 116 const writePromise = writer.write('a'); constant 120 … promise_rejects_exactly(t, error1, writePromise, 'writer write must reject with the same error'),
|
D | close.any.js | 383 const writePromise = writer.write('c'); constant 394 writePromise,
|
/third_party/node/test/fixtures/wpt/streams/transform-streams/ |
D | errors.any.js | 170 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'),
|
D | reentrant-strategies.any.js | 179 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()]);
|
D | general.any.js | 318 const writePromise = writer.write('a'); constant 321 return writePromise; 334 const writePromise = ts.writable.getWriter().write(); constant 336 return writePromise;
|
D | strategies.any.js | 84 const writePromise = ts.writable.getWriter().write(); constant 85 return ts.readable.getReader().read().then(() => writePromise);
|
D | backpressure.any.js | 156 const writePromise = writer.write('a'); constant 158 return writePromise;
|
/third_party/node/test/fixtures/wpt/streams/piping/ |
D | abort.any.js | 160 const writePromise = new Promise(resolve => { constant 165 return writePromise; 343 const writePromise = new Promise(resolve => { constant 349 return writePromise;
|