Project: chromium Issues People Development process History Sign in
New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.
Starred by 2 users
Status: Fixed
Owner:
Last visit > 30 days ago
Closed: May 24
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Launch-OWP
Launch-Accessibility: ----
Launch-Legal: ----
Launch-M-Approved: ----
Launch-M-Target: ----
Launch-Privacy: ----
Launch-Security: ----
Launch-Status: ----
Launch-Test: ----
Launch-UI: ----
Product-Review: ----

Blocked on:
issue 455103



Sign in to add a comment
Fetch API: Request/Response.formData
Project Member Reported by eero.hak...@intel.com, May 4 Back to list
Change description:
Allows multipart/form-data and application/x-www-form-urlencoded fetch requests and responses to be consumed and parsed into FormData objects.

Changes to API surface:
 * New Body.formData method

Links:
https://fetch.spec.whatwg.org/#dom-body-formdata

Support in other browsers:
Firefox: shipped by 39
 
Project Member Comment 1 by bugdroid1@chromium.org, May 22
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/6bd271fe88b9917fef4206aecc60b39b4f58652e

commit 6bd271fe88b9917fef4206aecc60b39b4f58652e
Author: eero.hakkinen <eero.hakkinen@intel.com>
Date: Mon May 22 11:36:04 2017

[Fetch API] Implement Request.formData and Response.formData.

This contains form data parsers for both multipart/form-data and
application/x-www-form-urlencoded request and response bodies.

Intent to Ship: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/DxYtgt49OjA

BUG= 455103 , 718393 

Review-Url: https://codereview.chromium.org/2292763002
Cr-Commit-Position: refs/heads/master@{#473551}

[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/android_webview/tools/system_webview_shell/test/data/webexposed/global-interface-listing-expected.txt
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/LayoutTests/external/wpt/fetch/api/request/request-consume-empty-expected.txt
[delete] https://crrev.com/6b15b25c276ea7a06d3e0964b1cbbbc46f29823b/third_party/WebKit/LayoutTests/external/wpt/fetch/api/request/request-consume-expected.txt
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/LayoutTests/external/wpt/fetch/api/request/request-idl-expected.txt
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/LayoutTests/external/wpt/fetch/api/request/request-structure-expected.txt
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/LayoutTests/external/wpt/fetch/api/response/response-consume-empty-expected.txt
[delete] https://crrev.com/6b15b25c276ea7a06d3e0964b1cbbbc46f29823b/third_party/WebKit/LayoutTests/external/wpt/fetch/api/response/response-consume-expected.txt
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/LayoutTests/external/wpt/fetch/api/response/response-idl-expected.txt
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/LayoutTests/external/wpt/url/urlencoded-parser-expected.txt
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/body-mixin.js
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/response-content.js
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/LayoutTests/http/tests/fetch/script-tests/response.js
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/LayoutTests/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/LayoutTests/platform/mac/virtual/stable/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/LayoutTests/platform/mac/virtual/stable/webexposed/global-interface-listing-dedicated-worker-expected.txt
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/LayoutTests/platform/mac/virtual/stable/webexposed/global-interface-listing-expected.txt
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/LayoutTests/platform/mac/virtual/stable/webexposed/global-interface-listing-shared-worker-expected.txt
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/LayoutTests/platform/win/virtual/stable/webexposed/global-interface-listing-expected.txt
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/LayoutTests/virtual/service-worker-navigation-preload-disabled/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/LayoutTests/virtual/service-worker-navigation-preload-disabled/webexposed/global-interface-listing-dedicated-worker-expected.txt
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/LayoutTests/virtual/service-worker-navigation-preload-disabled/webexposed/global-interface-listing-expected.txt
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/LayoutTests/virtual/service-worker-navigation-preload-disabled/webexposed/global-interface-listing-shared-worker-expected.txt
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/LayoutTests/virtual/service-worker-navigation-preload/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/LayoutTests/virtual/stable/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/LayoutTests/virtual/stable/webexposed/global-interface-listing-dedicated-worker-expected.txt
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/LayoutTests/virtual/stable/webexposed/global-interface-listing-shared-worker-expected.txt
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/LayoutTests/webexposed/global-interface-listing-dedicated-worker-expected.txt
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/LayoutTests/webexposed/global-interface-listing-shared-worker-expected.txt
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/Source/modules/BUILD.gn
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/Source/modules/fetch/BUILD.gn
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/Source/modules/fetch/Body.cpp
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/Source/modules/fetch/Body.h
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/Source/modules/fetch/Body.idl
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/Source/modules/fetch/BytesConsumerTestUtil.h
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/Source/modules/fetch/FetchDataLoader.cpp
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/Source/modules/fetch/FetchDataLoader.h
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/Source/modules/fetch/FetchDataLoaderTest.cpp
[add] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/Source/modules/fetch/MultipartParser.cpp
[add] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/Source/modules/fetch/MultipartParser.h
[add] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/Source/modules/fetch/MultipartParserTest.cpp
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/Source/modules/fetch/Request.cpp
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/Source/modules/fetch/Request.h
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/Source/modules/fetch/Response.cpp
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/Source/modules/fetch/Response.h
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/Source/platform/network/HTTPParsers.cpp
[modify] https://crrev.com/6bd271fe88b9917fef4206aecc60b39b4f58652e/third_party/WebKit/Source/platform/network/HTTPParsers.h

Status: Fixed
Sign in to add a comment