| Index: third_party/WebKit/LayoutTests/external/wpt/streams/writable-streams/bad-strategies.js
|
| diff --git a/third_party/WebKit/LayoutTests/external/wpt/streams/writable-streams/bad-strategies.js b/third_party/WebKit/LayoutTests/external/wpt/streams/writable-streams/bad-strategies.js
|
| index eb14cf22e12bf0d69a9e2ae7189137e4d50be3d1..0eed5faeac43e0c8b510ababe85dc2f17aa4a0d5 100644
|
| --- a/third_party/WebKit/LayoutTests/external/wpt/streams/writable-streams/bad-strategies.js
|
| +++ b/third_party/WebKit/LayoutTests/external/wpt/streams/writable-streams/bad-strategies.js
|
| @@ -61,7 +61,7 @@ promise_test(t => {
|
|
|
| const writer = ws.getWriter();
|
|
|
| - const p1 = promise_rejects(t, error1, writer.write('a'), 'write should reject with the thrown error');
|
| + const p1 = promise_rejects(t, new TypeError(), writer.write('a'), 'write should reject with a TypeError');
|
|
|
| const p2 = promise_rejects(t, error1, writer.closed, 'closed should reject with the thrown error');
|
|
|
|
|