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

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

Issue 558793002: Adding ArrayBufferView as a constructor type to Response (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@response-work1
Patch Set: Created 6 years, 3 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/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 f78e9fd35e92f61b4941edc6fa2937ca8b8ffc79..d0243d2055af42a7ae54773f9ee82c6beeb10a81 100644
--- a/Source/modules/serviceworkers/Response.idl
+++ b/Source/modules/serviceworkers/Response.idl
@@ -7,11 +7,11 @@
enum ResponseType { "basic", "cors", "default", "error", "opaque" };
[
- // FIXME: Add ctors for ArrayBufferView, FormData and URLSearchParams
- // response bodies.
+ // FIXME: Add ctors for FormData and URLSearchParams response bodies.
Constructor(ScalarValueString body, optional Dictionary responseInitDict),
Constructor(Blob? body, optional Dictionary responseInitDict),
Constructor(ArrayBuffer input, optional Dictionary requestInitDict),
+ Constructor(ArrayBufferView input, optional Dictionary requestInitDict),
RuntimeEnabled=ServiceWorker,
Exposed=ServiceWorker,
RaisesException=Constructor,
« 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