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

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

Issue 1899873006: Make Response::body return v8-extra based stream behind flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@notify-locked-released
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 2dba3d83f6cad1d22104141016b521818e1af625..89b58e3e5e74db0574452885b601c2fc36a1aa00 100644
--- a/third_party/WebKit/Source/modules/fetch/Response.idl
+++ b/third_party/WebKit/Source/modules/fetch/Response.idl
@@ -25,10 +25,9 @@ enum ResponseType { "basic", "cors", "default", "error", "opaque", "opaqueredire
readonly attribute ByteString statusText;
readonly attribute Headers headers;
- [RaisesException] Response clone();
+ [RaisesException, CallWith=ScriptState] Response clone();
- [ImplementedAs=bodyWithUseCounter] readonly attribute ReadableByteStream body;
- [RuntimeEnabled=ResponseBodyWithV8ExtraStream, CallWith=ScriptState] any v8ExtraStreamBody();
+ [CallWith=ScriptState, ImplementedAs=bodyWithUseCounter] readonly attribute any body;
};
Response implements Body;
« no previous file with comments | « third_party/WebKit/Source/modules/fetch/Response.cpp ('k') | third_party/WebKit/Source/modules/fetch/ResponseTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698