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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/response-stream-construction.js

Issue 1969333002: [Fetch API] |(new Response(stream)).body| should return |stream| (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/streams/ReadableStream.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/response-stream-construction.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/response-stream-construction.js b/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/response-stream-construction.js
index 40b4da7868b0d7117c9d661c145451c5602bddb7..86d51ba2d22bb5e019de10a92ee7d590adb206e7 100644
--- a/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/response-stream-construction.js
+++ b/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/response-stream-construction.js
@@ -11,8 +11,7 @@ test(() => {
var stream = new ReadableStream({start: c => controller = c});
var response = new Response(stream);
- // TODO(yhirano): This should be assert_equals.
- assert_not_equals(response.body, stream);
+ assert_equals(response.body, stream);
}, 'Response constructed with a stream');
promise_test(() => {
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/streams/ReadableStream.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698