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

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

Issue 1028913002: ReadableStream.cancel's parameter should be optional. (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/ReadableStreamReader.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/streams/ReadableStreamReader.idl
diff --git a/Source/core/streams/ReadableStreamReader.idl b/Source/core/streams/ReadableStreamReader.idl
index 2185d5bfd29c2ee0e17285c5d78959467915bdb2..3adde2b1fe805abc0aef8a92628d47ceaffca436 100644
--- a/Source/core/streams/ReadableStreamReader.idl
+++ b/Source/core/streams/ReadableStreamReader.idl
@@ -13,6 +13,6 @@
[CallWith=ScriptState] readonly attribute Promise<void> closed;
[CallWith=ScriptState] Promise<any> read();
- [CallWith=ScriptState] Promise<void> cancel(any reason);
+ [CallWith=ScriptState] Promise<void> cancel(optional any reason);
[RaisesException] void releaseLock();
};
« no previous file with comments | « Source/core/streams/ReadableStreamReader.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698