Summary: The FormData interface allows sending forms directly via XHR. It has previously been exposed on window. This intent is to expose it on workers and allow the same usage, i.e: - Creating FormData objects and adding string values or blobs to them - Sending FormData objects via a call to xhr.send().
It is not possible to directly create a FormData from a HTML form element since form elements are not available on workers. The exposure on workers is a requirement for the Fetch API which we intend to ship this quarter. [1] Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=739173 Link to standard: https://xhr.spec.whatwg.org/#interface-formdata Platform coverage: All platforms Estimated or target release: Firefox 38 Pref: I intend to hide this behind dom.fetch.enabled, which also controls the Fetch specification. [1]: https://groups.google.com/forum/#!searchin/mozilla.dev.platform/intent$20fetch/mozilla.dev.platform/EWGghGeRAV0/2DWWR-KPa_IJ _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform