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

Unified Diff: third_party/WebKit/Source/core/streams/ReadableStreamTest.cpp

Issue 1418813004: [Fetch API] Reflect spec changes of bodyUsed property (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/Source/core/streams/ReadableStreamTest.cpp
diff --git a/third_party/WebKit/Source/core/streams/ReadableStreamTest.cpp b/third_party/WebKit/Source/core/streams/ReadableStreamTest.cpp
index af1f187996a78344b2c9993e2834e0710e280fd6..174a09df88496dbaa28f10f5256f8a3bc9c69037 100644
--- a/third_party/WebKit/Source/core/streams/ReadableStreamTest.cpp
+++ b/third_party/WebKit/Source/core/streams/ReadableStreamTest.cpp
@@ -560,7 +560,7 @@ TEST_F(ReadableStreamTest, GetClosedReader)
String onFulfilled, onRejected;
reader->closed(scriptState()).then(createCaptor(&onFulfilled), createCaptor(&onRejected));
- EXPECT_FALSE(reader->isActive());
+ EXPECT_TRUE(reader->isActive());
EXPECT_TRUE(onFulfilled.isNull());
EXPECT_TRUE(onRejected.isNull());
@@ -583,7 +583,7 @@ TEST_F(ReadableStreamTest, GetErroredReader)
String onFulfilled, onRejected;
reader->closed(scriptState()).then(createCaptor(&onFulfilled), createCaptor(&onRejected));
- EXPECT_FALSE(reader->isActive());
+ EXPECT_TRUE(reader->isActive());
EXPECT_TRUE(onFulfilled.isNull());
EXPECT_TRUE(onRejected.isNull());

Powered by Google App Engine
This is Rietveld 408576698