How we built it

FormData methods for inspection and modification

The FormData object allows pages to programmatically construct a list of key/value entries that can be submitted via XHR just like an HTML form. Previously, the object was write-only via a single append() method. The spec was fleshed out to add has(), get(), getAll(), delete(), set(), entries(), keys(), values(), forEach() and Symbol.iterator() methods to allow inspection, iteration and modification.

Demo

Documentation

Specification

Working draft or equivalent

Status in Chromium

Enabled by default (launch bug) in:

  • Chrome for desktop release 50
  • Chrome for Android release 50
  • Android WebView release 50
  • Opera release 37
  • Opera for Android release 37

Consensus & Standardization

  • Shipped
  • No public signals
  • No public signals
  • Strongly positive

Owner

Last updated on 2016-03-15