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

Unified Diff: Source/modules/serviceworkers/Response.idl

Issue 701683005: Service Workers/Fetch: Fix Response constructor for empty/null (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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/modules/serviceworkers/Response.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/serviceworkers/Response.idl
diff --git a/Source/modules/serviceworkers/Response.idl b/Source/modules/serviceworkers/Response.idl
index 50ad9557e2c0bb63d4fb0bcba974b84cb18466a4..350c0a0a19a97e6e840af007547d63f220d31274 100644
--- a/Source/modules/serviceworkers/Response.idl
+++ b/Source/modules/serviceworkers/Response.idl
@@ -8,8 +8,9 @@ enum ResponseType { "basic", "cors", "default", "error", "opaque" };
[
// FIXME: Add ctors for FormData and URLSearchParams response bodies.
+ Constructor(),
Constructor(USVString body, optional Dictionary responseInitDict),
- Constructor(Blob? body, optional Dictionary responseInitDict),
+ Constructor(Blob body, optional Dictionary responseInitDict),
Constructor(ArrayBuffer input, optional Dictionary requestInitDict),
Constructor(ArrayBufferView input, optional Dictionary requestInitDict),
ConstructorCallWith=ExecutionContext,
« no previous file with comments | « Source/modules/serviceworkers/Response.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698