[whatwg/xhr] Add optional submitter argument to FormData constructor (PR #366)

Closes #262, I went with the approach outlined [here](https://github.com/whatwg/xhr/issues/262#issuecomment-548720848). I haven't filed implementation/MDN issues yet, but will if it looks like this will get a green light.

I did [implement this in jsdom](https://github.com/jsdom/jsdom/pull/3496), and it passes the new tests linked below.

<!--
Thank you for contributing to the XMLHttpRequest Standard! Please describe the change you are making and complete the checklist below if your change is not editorial.
-->

- [x] At least two implementers are interested (and none opposed):
   * See #262 and https://github.com/whatwg/html/issues/3195

- [x] [Tests](https://github.com/web-platform-tests/wpt) are written and can be reviewed and commented upon at:
   * https://github.com/web-platform-tests/wpt/pull/37895

- [ ] [Implementation bugs](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md#handling-pull-requests) are filed:
   * Chromium: …
   * Gecko: …
   * WebKit: …
- [ ] [MDN issue](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md#handling-pull-requests) is filed: …

(See [WHATWG Working Mode: Changes](https://whatwg.org/working-mode#changes) for more details.)

You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/xhr/pull/366


-- Commit Summary --

  * Add optional submitter argument to FormData constructor

-- File Changes --

    M xhr.bs (13)

-- Patch Links --

https://github.com/whatwg/xhr/pull/366.patch

https://github.com/whatwg/xhr/pull/366.diff


-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/xhr/pull/366

You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/xhr/pull/366@github.com>

Received on Thursday, 12 January 2023 01:13:29 UTC