[webkit-changes] [WebKit/WebKit] 81a46f: Rename classes in URLParser's characterClassTable

Anne van Kesteren noreply at github.com
Tue Dec 3 23:09:10 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 81a46f15f08aa96e42a61df330c4bcd821abdb06
      https://github.com/WebKit/WebKit/commit/81a46f15f08aa96e42a61df330c4bcd821abdb06
  Author: Anne van Kesteren <annevk at annevk.nl>
  Date:   2024-12-03 (Tue, 03 Dec 2024)

  Changed paths:
    M Source/WTF/wtf/URLParser.cpp

  Log Message:
  -----------
  Rename classes in URLParser's characterClassTable
https://bugs.webkit.org/show_bug.cgi?id=283913
rdar://140789441

Reviewed by Alex Christensen.

Rename Default to PathEncode, UserInfo to UserInfoEncode, QueryPercent
to QueryEncode, and SimpleEncode to C0ControlEncode for clarity and to
match the specification.

* Source/WTF/wtf/URLParser.cpp:
(WTF::isInC0ControlEncodeSet):
(WTF::isInFragmentEncodeSet):
(WTF::isInPathEncodeSet):
(WTF::isInUserInfoEncodeSet):
(WTF::shouldPercentEncodeQueryByte):
(WTF::URLParser::parse):
(WTF::URLParser::parseHostAndPort):
(WTF::isInSimpleEncodeSet): Deleted.
(WTF::isInDefaultEncodeSet): Deleted.

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list