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

Unified Diff: third_party/WebKit/Source/modules/fetch/Response.idl

Issue 1506023003: Response construction with a ReadableStream (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/modules/fetch/Response.idl
diff --git a/third_party/WebKit/Source/modules/fetch/Response.idl b/third_party/WebKit/Source/modules/fetch/Response.idl
index 556488f7fe9ee8e8d35e432469ed8da2a170013b..4ac9f4038fe0600beef44bcf31ac275b1b9cdccc 100644
--- a/third_party/WebKit/Source/modules/fetch/Response.idl
+++ b/third_party/WebKit/Source/modules/fetch/Response.idl
@@ -6,12 +6,11 @@
enum ResponseType { "basic", "cors", "default", "error", "opaque", "opaqueredirect" };
-// FIXME: Add union type: URLSearchParams
-typedef (Blob or ArrayBuffer or ArrayBufferView or FormData or USVString) BodyInit;
-
[
- Constructor(optional BodyInit body, optional Dictionary responseInitDict),
- ConstructorCallWith=ExecutionContext,
+ // TODO(yhirano): We use "any" for body because the IDL processor doesn't
+ // recognize ReadableStream implemented with V8 extras. Fix it.
+ Constructor(optional any body, optional Dictionary responseInitDict),
+ ConstructorCallWith=ScriptState,
Exposed=(Window,Worker),
RaisesException=Constructor,
ActiveDOMObject,
« no previous file with comments | « third_party/WebKit/Source/modules/fetch/Response.cpp ('k') | third_party/WebKit/Source/modules/modules.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698