Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(383)

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/streams/writable-streams/bad-strategies.js

Issue 2711183003: Import wpt@a7e9c2abcf65b78fcf1c246fec6681c74e1bc352 (Closed)
Patch Set: Update test expectations and baselines. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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');

Powered by Google App Engine
This is Rietveld 408576698