Add optional submitter parameter to FormData constructor#9188
Conversation
|
EWS run on previous version of this PR (hash 54e479b) Details
|
|
The tests included are the same as in web-platform-tests/wpt#37895, I just dropped them under |
LayoutTests/imported/w3c/web-platform-tests/xhr/formdata/constructor-submitter.html
Outdated
Show resolved
Hide resolved
Right approach, just missing the expected results (*-expected.txt) as part of your patch, as I commented above. |
54e479b to
86174d6
Compare
|
EWS run on current version of this PR (hash 86174d6) Details |
|
Addressed PR feedback, let me know if there's anything else this needs 🙏 |
Looks good, thanks! |
https://bugs.webkit.org/show_bug.cgi?id=251220 Reviewed by Chris Dumez Implement the new submitter parameter to the FormData constructor Spec PR: whatwg/xhr#366 WPT PR: web-platform-tests/wpt#37895 Test: imported/w3c/web-platform-tests/xhr/formdata/constructor-submitter.html * LayoutTests/imported/w3c/web-platform-tests/xhr/formdata/constructor-submitter-expected.txt: Added. * LayoutTests/imported/w3c/web-platform-tests/xhr/formdata/constructor-submitter.html: Added. * Source/WebCore/html/DOMFormData.cpp: (WebCore::DOMFormData::create): add submitter support * Source/WebCore/html/DOMFormData.h: update signature * Source/WebCore/html/DOMFormData.idl: update interface * Source/WebCore/html/HTMLFormElement.cpp: (WebCore::HTMLFormElement::requestSubmit): improve error messages# Canonical link: https://commits.webkit.org/259558@main
86174d6 to
136a23f
Compare
|
Committed 259558@main (136a23f): https://commits.webkit.org/259558@main Reviewed commits have been landed. Closing PR #9188 and removing active labels. |
|
Congratulations on your first WebKit PR 👍🏻 |
|
Awesome, thanks @cdumez! |
136a23f
86174d6