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

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

Issue 795463006: Rename ReadableStream.wait() to ReadableStream.ready. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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/ReadableStreamTest.cpp » ('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 c8bd39b8ef36103818f6f53aaded2e303625efa0..5192ff1a1383a16bec5d00e809613daf8b0ff97b 100644
--- a/Source/core/streams/ReadableStream.idl
+++ b/Source/core/streams/ReadableStream.idl
@@ -16,7 +16,7 @@ enum ReadableStreamState {
ActiveDOMObject,
] interface ReadableStream {
[CallWith=ScriptState, RaisesException] any read();
- [CallWith=ScriptState] Promise wait();
+ [CallWith=ScriptState] readonly attribute Promise ready;
[ImplementedAs=stateString] readonly attribute ReadableStreamState state;
[CallWith=ScriptState] Promise cancel(any reason);
« no previous file with comments | « Source/core/streams/ReadableStream.cpp ('k') | Source/core/streams/ReadableStreamTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698