Home
last modified time | relevance | path

Searched refs:thrownError (Results 1 – 4 of 4) sorted by relevance

/third_party/node/test/fixtures/wpt/streams/transform-streams/
Derrors.any.js5 const thrownError = new Error('bad things are happening!'); constant
6 thrownError.name = 'error1';
11 throw thrownError;
20 promise_rejects_exactly(t, thrownError, writer.write('a'),
22 promise_rejects_exactly(t, thrownError, reader.read(),
24 promise_rejects_exactly(t, thrownError, reader.closed,
26 promise_rejects_exactly(t, thrownError, writer.closed,
36 throw thrownError;
46 promise_rejects_exactly(t, thrownError, writer.close(),
48 promise_rejects_exactly(t, thrownError, reader.read(),
[all …]
/third_party/node/test/fixtures/wpt/streams/readable-streams/
Dbad-strategies.any.js22 const thrownError = { name: 'thrown error' }; variable
34 throw thrownError;
40 …assert_throws_exactly(thrownError, () => controller.enqueue('a'), 'enqueue should re-throw the err…
Dcancel.any.js133 const thrownError = new Error('test'); constant
139 throw thrownError;
147 assert_equals(e, thrownError);
Dgeneral.any.js579 const thrownError = { name: 'thrown error' }; variable
584 throw thrownError;