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

Unified Diff: Source/core/streams/ReadableStream.idl

Issue 1001233002: Streams Implementation Update: Reader name and Stream methods (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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 | « Source/core/streams/ReadableStream.cpp ('k') | Source/core/streams/ReadableStreamImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/streams/ReadableStream.idl
diff --git a/Source/core/streams/ReadableStream.idl b/Source/core/streams/ReadableStream.idl
index c6930de675511493e6f6a1030c02aef534ddbcad..98b123043d79b27ac09f66980306e47a90ae18a8 100644
--- a/Source/core/streams/ReadableStream.idl
+++ b/Source/core/streams/ReadableStream.idl
@@ -2,25 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-enum ReadableStreamState {
- "readable",
- "waiting",
- "closed",
- "errored"
-};
-
[
RuntimeEnabled=ExperimentalStream,
GarbageCollected,
Exposed=(Window,Worker),
ActiveDOMObject,
] interface ReadableStream {
- [CallWith=ScriptState, RaisesException] any read();
- [CallWith=ScriptState] readonly attribute Promise ready;
- [ImplementedAs=stateString] readonly attribute ReadableStreamState state;
-
[CallWith=ScriptState] Promise cancel(any reason);
- [RaisesException] ExclusiveStreamReader getReader();
+ [RaisesException] ReadableStreamReader getReader();
[CallWith=ScriptState] readonly attribute Promise closed;
};
« no previous file with comments | « Source/core/streams/ReadableStream.cpp ('k') | Source/core/streams/ReadableStreamImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698