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

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

Issue 2292763002: [Fetch API] Implement Request.formData and Response.formData. (Closed)
Patch Set: Created 4 years, 4 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/Body.idl
diff --git a/third_party/WebKit/Source/modules/fetch/Body.idl b/third_party/WebKit/Source/modules/fetch/Body.idl
index c00f5c568dc0f3b3c72bdfbad5226180f37b72a5..423078b30f6125282c31d0eb5d2501d27b85bbd2 100644
--- a/third_party/WebKit/Source/modules/fetch/Body.idl
+++ b/third_party/WebKit/Source/modules/fetch/Body.idl
@@ -13,6 +13,7 @@
readonly attribute boolean bodyUsed;
[CallWith=ScriptState] Promise<ArrayBuffer> arrayBuffer();
[CallWith=ScriptState] Promise<Blob> blob();
+ [CallWith=ScriptState] Promise<FormData> formData();
[CallWith=ScriptState] Promise<JSON> json();
[CallWith=ScriptState] Promise<USVString> text();

Powered by Google App Engine
This is Rietveld 408576698