[webkit-changes] [WebKit/WebKit] edc7d0: Use setSearch() in URLSearchParams

Anne van Kesteren noreply at github.com
Mon Jul 24 08:53:25 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: edc7d0143e8d477dce8bdc66f2ab2b6247bc0b94
      https://github.com/WebKit/WebKit/commit/edc7d0143e8d477dce8bdc66f2ab2b6247bc0b94
  Author: Anne van Kesteren <annevk at annevk.nl>
  Date:   2023-07-24 (Mon, 24 Jul 2023)

  Changed paths:
    M Source/WebCore/html/DOMURL.cpp
    M Source/WebCore/html/DOMURL.h
    M Source/WebCore/html/URLSearchParams.cpp

  Log Message:
  -----------
  Use setSearch() in URLSearchParams
https://bugs.webkit.org/show_bug.cgi?id=259425
rdar://112728305

Reviewed by Alex Christensen.

Removes the need for setQuery() in DOMURL.

* Source/WebCore/html/DOMURL.cpp:
(WebCore::DOMURL::setQuery): Deleted.
* Source/WebCore/html/DOMURL.h:
* Source/WebCore/html/URLSearchParams.cpp:
(WebCore::URLSearchParams::updateURL):

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




More information about the webkit-changes mailing list