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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/streams/writable-streams/aborting.js

Issue 2500833002: Import latest WritableStream tests from upstream (Closed)
Patch Set: Created 4 years, 1 month 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/http/tests/streams/writable-streams/aborting.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/streams/writable-streams/aborting.js b/third_party/WebKit/LayoutTests/http/tests/streams/writable-streams/aborting.js
index 9e6765b87c1e1051bf0b3847f9bbcc73fc8411c1..3cf207cc5b911f076bf761ca4aebf0cd7bf76a39 100644
--- a/third_party/WebKit/LayoutTests/http/tests/streams/writable-streams/aborting.js
+++ b/third_party/WebKit/LayoutTests/http/tests/streams/writable-streams/aborting.js
@@ -178,7 +178,7 @@ promise_test(t => {
writer.close();
- return delay(20).then(() => {
+ return delay(0).then(() => {
writer.abort(error1);
})
.then(() => promise_rejects(t, new TypeError(), writer.closed, 'closed should reject with a TypeError'));

Powered by Google App Engine
This is Rietveld 408576698