Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 136a23f12bae93a6dd2c9f93565aa6da6efdfef5
      
https://github.com/WebKit/WebKit/commit/136a23f12bae93a6dd2c9f93565aa6da6efdfef5
  Author: Jon Jensen <[email protected]>
  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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to