Update the FormData constructor to allow providing a submitter (#35066)

Signed-off-by: Shane Handley <shanehandley@fastmail.com>
This commit is contained in:
shanehandley 2025-01-24 04:20:44 +11:00 committed by GitHub
parent f5f5a3f79e
commit cca600e909
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 52 additions and 16 deletions

View file

@ -1,13 +1,4 @@
[constructor-submitter.html]
[FormData construction should throw a TypeError if a non-null submitter is not a submit button]
expected: FAIL
[FormData construction should throw a 'NotFoundError' DOMException if a non-null submitter is not owned by the form]
expected: FAIL
[The constructed FormData object should contain an in-tree-order entry for a named submit button submitter]
expected: FAIL
[The constructed FormData object should contain in-tree-order entries for an activated Image Button submitter]
expected: FAIL