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

@jenseng commented on this pull request.



> @@ -1609,7 +1609,7 @@ typedef (File or USVString) FormDataEntryValue;
 
 [Exposed=(Window,Worker)]
 interface FormData {
-  constructor(optional HTMLFormElement form);
+  constructor(optional HTMLFormElement form, optional HTMLElement? submitter = null);

It's possible it was an oversight, as you had a similar suggestion when [requestSubmit was proposed](https://github.com/whatwg/html/issues/4187#issuecomment-486228427) and afaict it was never directly addressed

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/xhr/pull/366#discussion_r1087242123
You are receiving this because you are subscribed to this thread.

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

Received on Wednesday, 25 January 2023 22:16:50 UTC