Summary: FormData[1] has been an append only interface since it was introduced. 
The WHATWG version of the XHR spec added several methods to has/get/set/delete 
on the entries and introduced iteration support. This puts it in the same class 
as URLSearchParams and Headers.

The proposed patch does not add iterator support.

This email is about 24 hours late in that I've already implemented the changes 
yesterday.

Blink already implements this but hides it behind a flag - 
https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/ksXEB6uB7RY/ZwtCdZGyIVgJ.
 It is the only known engine shipping the feature.

Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1085283

Link to standard: 
https://xhr.spec.whatwg.org/#interface-formdata
Old standard [1] - http://www.w3.org/TR/XMLHttpRequest/#interface-formdata

Platform coverage: All platforms.
Estimated or target release: Firefox 38

Preference behind which this will be implemented: Should this be preffed off by 
default? It seems a very additive feature to me. In addition the similar 
URLSearchParams has been around for a while as has Headers, so the operation 
patterns seem to be well established. Happy to put it behind 
"dom.formdata.advanced" though.

Nikhil
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to