If body is a FormData, we should be able to consume it through text/arrayBuffer/json.
Does the work you are doing here include parsing the body and exposing the formData() method? I was thinking of taking that as a personal project, but don't want to conflict if its in progress here.
(In reply to Ben Kelly from comment #1) > Does the work you are doing here include parsing the body and exposing the > formData() method? I was thinking of taking that as a personal project, but > don't want to conflict if its in progress here. Go for it! I won't get to this for a little bit.
Thanks. I'll keep this bug for consuming FormData in the Request/Response constructors and write a separate bug for serializing out via the .formData() method. (I would assign myself, but I don't seem to have the bugzilla permissions to do that.)
Tests for this are in: http://w3c-test.org/fetch/api/response/response-init-002.html http://w3c-test.org/fetch/api/request/request-init-002.html
Unassigning myself from this and related bugs since I'm not realistically working it right now. I just haven't had the free time to get back to it. Sorry!
*** This bug has been marked as a duplicate of bug 215671 ***