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

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

Issue 1908213004: [Streams] Remove SetReadableStreamDisturbed from ReadableStream.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/Source/core/streams/ReadableStreamOperationsTest.cpp
diff --git a/third_party/WebKit/Source/core/streams/ReadableStreamOperationsTest.cpp b/third_party/WebKit/Source/core/streams/ReadableStreamOperationsTest.cpp
index 573ccd1ab0e812cd5e85532c482ffc2be7ba585a..9cd2e60bd644f73c418d0f6bc3998d048f5ee03b 100644
--- a/third_party/WebKit/Source/core/streams/ReadableStreamOperationsTest.cpp
+++ b/third_party/WebKit/Source/core/streams/ReadableStreamOperationsTest.cpp
@@ -359,16 +359,6 @@ TEST_F(ReadableStreamOperationsTest, UnderlyingSourceShouldHavePendingActivityWh
EXPECT_FALSE(underlyingSource->hasPendingActivity());
}
-TEST_F(ReadableStreamOperationsTest, SetDisturbed)
-{
- ScriptValue stream = evalWithPrintingError("new ReadableStream()");
- ASSERT_FALSE(stream.isEmpty());
-
- EXPECT_FALSE(ReadableStreamOperations::isDisturbed(getScriptState(), stream));
- ReadableStreamOperations::setDisturbed(getScriptState(), stream);
- EXPECT_TRUE(ReadableStreamOperations::isDisturbed(getScriptState(), stream));
-}
-
TEST_F(ReadableStreamOperationsTest, IsReadable)
{
ScriptValue readable = evalWithPrintingError("new ReadableStream()");

Powered by Google App Engine
This is Rietveld 408576698