/third_party/node/test/fixtures/wpt/streams/writable-streams/ |
D | reentrant-strategy.any.js | 104 return promise_rejects_js(t, TypeError, writer.write('a'), 'write() promise should reject') 138 …const writePromise = promise_rejects_js(t, TypeError, writer.write('a'), 'write() promise should r… 139 …const readyPromise = promise_rejects_js(t, TypeError, writer.ready, 'ready promise should reject'); 140 …const closedPromise = promise_rejects_js(t, TypeError, writer.closed, 'closed promise should rejec… 167 …const writePromise1 = promise_rejects_js(t, TypeError, writer1.write(1), 'write() promise should r… 168 …const readyPromise = promise_rejects_js(t, TypeError, writer1.ready, 'ready promise should reject'… 169 …const closedPromise1 = promise_rejects_js(t, TypeError, writer1.closed, 'closed promise should rej…
|
D | aborting.any.js | 54 return promise_rejects_js(t, TypeError, writer.abort(), 'abort() should reject with a TypeError'); 641 promise_rejects_js(t, TypeError, writer.ready, 643 promise_rejects_js(t, TypeError, writer.closed, 738 promise_rejects_js(t, TypeError, writer.ready, 740 promise_rejects_js(t, TypeError, writer.closed, 784 promise_rejects_js(t, TypeError, writer.close(), 795 promise_rejects_js(t, TypeError, writer.close(), 820 promise_rejects_js(t, TypeError, writer.close(), 829 promise_rejects_js(t, TypeError, writer.close(), 831 promise_rejects_js(t, TypeError, writer.ready, [all …]
|
D | close.any.js | 218 promise_rejects_js(t, TypeError, closedPromise, '.closed promise should be rejected') 236 promise_rejects_js(t, TypeError, closedPromise, '.closed promise should be rejected') 425 return promise_rejects_js(t, TypeError, ws.close(), 'close should reject'); 446 return promise_rejects_js(t, TypeError, ws.close(), 'close should reject'); 454 return promise_rejects_js(t, TypeError, ws.close(), 'close should reject'); 469 return promise_rejects_js(t, TypeError, ws.close(), 'close should reject');
|
/third_party/node/test/fixtures/wpt/encoding/streams/ |
D | realms.window.js | 203 await promise_rejects_js(t, constructorRealm.TypeError, 209 return promise_rejects_js(t, constructorRealm.TypeError, readPromise, 247 await promise_rejects_js( 253 return promise_rejects_js( 266 await promise_rejects_js( 272 return promise_rejects_js( 288 return promise_rejects_js(
|
D | decode-bad-chunks.any.js | 35 await promise_rejects_js(t, TypeError, writePromise, 'write should reject'); 36 await promise_rejects_js(t, TypeError, readPromise, 'read should reject');
|
D | decode-non-utf8.any.js | 76 await promise_rejects_js(t, TypeError, reader.read(), 78 await promise_rejects_js(t, TypeError,
|
/third_party/node/test/fixtures/wpt/wasm/webapi/ |
D | contenttype.any.js | 6 return promise_rejects_js(t, TypeError, WebAssembly.compileStreaming(response)); 11 return promise_rejects_js(t, TypeError, WebAssembly.instantiateStreaming(response)); 27 return promise_rejects_js(t, TypeError, WebAssembly.compileStreaming(response)); 32 return promise_rejects_js(t, TypeError, WebAssembly.instantiateStreaming(response));
|
D | origin.sub.any.js | 7 return promise_rejects_js(t, TypeError, WebAssembly[method](response)); 13 return promise_rejects_js(t, TypeError, WebAssembly[method](response));
|
D | invalid-args.any.js | 20 return promise_rejects_js(t, TypeError, WebAssembly[method](argument)); 25 return promise_rejects_js(t, TypeError, WebAssembly[method](argument));
|
D | empty-body.any.js | 12 return promise_rejects_js(t, WebAssembly.CompileError, WebAssembly[method](argument)); 17 return promise_rejects_js(t, WebAssembly.CompileError, WebAssembly[method](argument));
|
D | body.any.js | 9 return promise_rejects_js(t, TypeError, WebAssembly[method](argument)); 17 return promise_rejects_js(t, TypeError, promise);
|
D | modified-contenttype.any.js | 12 return promise_rejects_js(t, TypeError, argument.blob()); 20 await promise_rejects_js(t, TypeError, WebAssembly[method](argument));
|
D | invalid-code.any.js | 13 return promise_rejects_js(t, WebAssembly.CompileError, WebAssembly[method](response)); 19 return promise_rejects_js(t, WebAssembly.CompileError, WebAssembly[method](response));
|
/third_party/node/test/fixtures/wpt/wasm/jsapi/constructor/ |
D | compile.any.js | 16 return promise_rejects_js(t, TypeError, WebAssembly.compile()); 33 return promise_rejects_js(t, TypeError, WebAssembly.compile(argument), 63 return promise_rejects_js(t, WebAssembly.CompileError, WebAssembly.compile(buffer)); 68 return promise_rejects_js(t, WebAssembly.CompileError, WebAssembly.compile(buffer));
|
D | instantiate.any.js | 12 return promise_rejects_js(t, TypeError, WebAssembly.instantiate()); 48 return promise_rejects_js(t, TypeError, WebAssembly.instantiate(argument), 138 return promise_rejects_js(t, WebAssembly.CompileError, WebAssembly.instantiate(buffer)); 143 return promise_rejects_js(t, WebAssembly.CompileError, WebAssembly.instantiate(buffer));
|
D | instantiate-bad-imports.any.js | 11 return promise_rejects_js(t, error, WebAssembly.instantiate(module, ...arguments)); 20 return promise_rejects_js(t, error, WebAssembly.instantiate(buffer, ...arguments));
|
/third_party/node/test/fixtures/wpt/streams/resources/ |
D | rs-test-templates.js | 269 promise_rejects_js(t, TypeError, read1, 'first read should reject'), 270 promise_rejects_js(t, TypeError, read2, 'second read should reject'), 271 promise_rejects_js(t, TypeError, closed, 'closed should reject') 282 promise_rejects_js(t, TypeError, reader.read()), 283 promise_rejects_js(t, TypeError, reader.read()) 298 return promise_rejects_js(t, TypeError, closedBefore); 327 return promise_rejects_js(t, TypeError, stream.cancel()); 390 promise_rejects_js(t, TypeError, closedAfter) 435 return promise_rejects_js(t, TypeError, closedAfter); 598 promise_rejects_js(t, TypeError, reader.read()), [all …]
|
D | test-utils.js | 6 …return promise_rejects_js(t, TypeError, getter.call(target), getterName + ' should reject with a T… 16 return promise_rejects_js(t, TypeError, method.apply(target, args),
|
/third_party/node/test/fixtures/wpt/streams/transform-streams/ |
D | terminate.any.js | 14 …const pipeToPromise = promise_rejects_js(t, TypeError, rs.pipeTo(ts.writable), 'pipeTo should reje… 40 return promise_rejects_js(t, TypeError, pipeToPromise, 'pipeTo() should reject'); 68 promise_rejects_js(t, TypeError, ts.writable.abort(), 'abort() should reject with a TypeError'), 82 promise_rejects_js(t, TypeError, ts.writable.abort(), 'abort() should reject with a TypeError'),
|
D | strategies.any.js | 125 return promise_rejects_js(t, RangeError, writer.write(), 'write should reject'); 144 promise_rejects_js(t, RangeError, writer.ready, 'ready should reject'), 145 promise_rejects_js(t, RangeError, writer.closed, 'closed should reject'), 146 … promise_rejects_js(t, RangeError, ts.readable.getReader().closed, 'readable closed should reject')
|
/third_party/node/test/fixtures/wpt/streams/piping/ |
D | close-propagation-backward.any.js | 105 return promise_rejects_js(t, TypeError, rs.pipeTo(ws, { preventCancel: truthy })).then(() => { 124 …return promise_rejects_js(t, TypeError, rs.pipeTo(ws, { preventCancel: true, preventAbort: true })) 143 return promise_rejects_js(t, TypeError,
|
D | general.any.js | 65 return promise_rejects_js(t, TypeError, rs.pipeTo(ws)).then(() => { 81 return promise_rejects_js(t, TypeError, rs.pipeTo(ws)).then(() => { 195 return promise_rejects_js(t, TypeError, rs.pipeTo(ws, {
|
/third_party/node/test/fixtures/wpt/streams/readable-streams/ |
D | default-reader.any.js | 151 promise_rejects_js(t, TypeError, reader1.closed), 177 promise_rejects_js(t, TypeError, promise2, '.closed after releasing lock'), 203 promise_rejects_js(t, TypeError, promise2, '.closed after releasing lock') 277 promise_rejects_js(t, TypeError, cancelPromise), 526 …const promise1 = promise_rejects_js(t, TypeError, reader1.read(), 'read() from reader1 should reje…
|
/third_party/node/test/fixtures/wpt/streams/readable-byte-streams/ |
D | general.any.js | 161 return promise_rejects_js(t, TypeError, reader.closed, 'closed must reject'); 172 return promise_rejects_js(t, TypeError, reader.closed, 'closed must reject'); 247 await promise_rejects_js(t, TypeError, read, 'pending read must reject'); 258 await promise_rejects_js(t, TypeError, read, 'pending read must reject'); 1448 return promise_rejects_js(t, TypeError, reader.read(new Uint16Array(1)), 'read(view) must fail') 1449 .then(() => promise_rejects_js(t, TypeError, reader.closed, 'reader.closed should reject')); 1474 return promise_rejects_js(t, TypeError, readPromise, 'read(view) must fail') 1475 .then(() => promise_rejects_js(t, TypeError, reader.closed, 'reader.closed must reject')); 1853 return promise_rejects_js(t, TypeError, reader.read(), 'read() must fail') 1864 return promise_rejects_js(t, TypeError, reader.read({}), 'read(view) must fail'); [all …]
|
D | bad-buffers-and-views.any.js | 93 return promise_rejects_js(t, TypeError, reader.read(view)); 107 return promise_rejects_js(t, TypeError, reader.read(view)); 120 return promise_rejects_js(t, TypeError, reader.read(view));
|