[webkit-changes] [WebKit/WebKit] 136a23: Add optional submitter parameter to FormData const...
Jon Jensen
noreply at github.com
Mon Jan 30 07:45:22 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 136a23f12bae93a6dd2c9f93565aa6da6efdfef5
https://github.com/WebKit/WebKit/commit/136a23f12bae93a6dd2c9f93565aa6da6efdfef5
Author: Jon Jensen <jonj at netflix.com>
Date: 2023-01-30 (Mon, 30 Jan 2023)
Changed paths:
A LayoutTests/imported/w3c/web-platform-tests/xhr/formdata/constructor-submitter-expected.txt
A LayoutTests/imported/w3c/web-platform-tests/xhr/formdata/constructor-submitter.html
M Source/WebCore/html/DOMFormData.cpp
M Source/WebCore/html/DOMFormData.h
M Source/WebCore/html/DOMFormData.idl
M Source/WebCore/html/HTMLFormElement.cpp
Log Message:
-----------
Add optional submitter parameter to FormData constructor
https://bugs.webkit.org/show_bug.cgi?id=251220
Reviewed by Chris Dumez
Implement the new submitter parameter to the FormData constructor
Spec PR: https://github.com/whatwg/xhr/pull/366
WPT PR: https://github.com/web-platform-tests/wpt/pull/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
More information about the webkit-changes
mailing list