Chromium Code Reviews| 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 |
|
tyoshino (SeeGerritForStatus)
2015/12/09 08:54:26
keep this, maybe in the .cpp file
yhirano
2015/12/09 10:54:10
Done.
|
| -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, |