[webkit-changes] [WebKit/WebKit] 0528c5: Update XHR to use new XMLHttpRequestBodyInit

Anne van Kesteren noreply at github.com
Mon Mar 27 07:14:11 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0528c528cf1353a5a0059cd8dde10e3eea8520bb
      https://github.com/WebKit/WebKit/commit/0528c528cf1353a5a0059cd8dde10e3eea8520bb
  Author: Anne van Kesteren <annevk at annevk.nl>
  Date:   2023-03-27 (Mon, 27 Mar 2023)

  Changed paths:
    M Source/WebCore/xml/XMLHttpRequest.cpp
    M Source/WebCore/xml/XMLHttpRequest.idl

  Log Message:
  -----------
  Update XHR to use new XMLHttpRequestBodyInit
https://bugs.webkit.org/show_bug.cgi?id=212731
rdar://64033262

Reviewed by Youenn Fablet.

No functional changes. This aligns the IDL with the latest standard and removes two additional FIXMEs because:

- XMLHttpRequest won't be extended with multi-part support.
- Documents are always encoded in UTF-8.

* Source/WebCore/xml/XMLHttpRequest.cpp:
(WebCore::XMLHttpRequest::send):
(WebCore::XMLHttpRequest::internalAbort):
* Source/WebCore/xml/XMLHttpRequest.idl:

Canonical link: https://commits.webkit.org/262149@main




More information about the webkit-changes mailing list