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

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

Issue 1827373002: Add another body function returning a V8 Extra ReadableStream to Response (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
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 afc333197a084c81df0f772308bd957d76ed1bcb..f96b5f7759914c7e0b25f925823ffbe23cd1a1cb 100644
--- a/third_party/WebKit/Source/modules/fetch/Response.idl
+++ b/third_party/WebKit/Source/modules/fetch/Response.idl
@@ -29,6 +29,7 @@ enum ResponseType { "basic", "cors", "default", "error", "opaque", "opaqueredire
[RaisesException] Response clone();
[ImplementedAs=bodyWithUseCounter] readonly attribute ReadableByteStream body;
+ [RuntimeEnabled=ResponseBodyWithV8ExtraStream, CallWith=ScriptState] any v8ExtraStreamBody();
sof 2016/04/04 11:26:32 Why is it a method and not a readonly attribute?
yhirano 2016/04/04 11:42:32 Calling this function is destructive, i.e. locks &
sof 2016/04/04 11:47:23 ok, thanks for clarifying.
};
Response implements Body;

Powered by Google App Engine
This is Rietveld 408576698