Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 133ad0e516b642c1220e3bcd6e9cbb967a54a392
      
https://github.com/WebKit/WebKit/commit/133ad0e516b642c1220e3bcd6e9cbb967a54a392
  Author: Chris Dumez <[email protected]>
  Date:   2026-04-07 (Tue, 07 Apr 2026)

  Changed paths:
    M Source/WTF/wtf/text/StringView.h
    M Source/WebCore/Modules/fetch/IPAddressSpace.cpp
    M Source/WebCore/accessibility/AXUtilities.cpp
    M Source/WebCore/dom/ScriptElement.cpp
    M Source/WebCore/dom/TextDecoder.cpp
    M Source/WebCore/html/EmailInputType.cpp
    M Source/WebCore/html/HTMLAnchorElement.cpp
    M Source/WebCore/loader/FrameLoader.cpp
    M Source/WebCore/page/CaptionUserPreferences.cpp
    M Source/WebCore/page/ElementTargetingController.cpp
    M Source/WebCore/platform/MIMETypeRegistry.cpp
    M Source/WebCore/platform/MIMETypeRegistry.h
    M Source/WebKit/WPEPlatform/wpe/drm/WPEDisplayDRM.cpp

  Log Message:
  -----------
  Avoid some String allocations in WebKit by leveraging StringView more
https://bugs.webkit.org/show_bug.cgi?id=311608

Reviewed by Anne van Kesteren.

* Source/WTF/wtf/text/StringView.h:
(WTF::StringView::trim const):
* Source/WebCore/Modules/fetch/IPAddressSpace.cpp:
(WebCore::determineIPAddressSpace):
* Source/WebCore/accessibility/AXUtilities.cpp:
(WebCore::hasAccNameAttribute):
* Source/WebCore/dom/ScriptElement.cpp:
(WebCore::ScriptElement::determineScriptType):
* Source/WebCore/dom/TextDecoder.cpp:
(WebCore::TextDecoder::create):
* Source/WebCore/html/EmailInputType.cpp:
(WebCore::EmailInputType::sanitizeValue const):
* Source/WebCore/html/HTMLAnchorElement.cpp:
(WebCore::HTMLAnchorElement::handleClick):
* Source/WebCore/loader/FrameLoader.cpp:
(WebCore::extractContentLanguageFromHeader):
* Source/WebCore/page/CaptionUserPreferences.cpp:
(WebCore::trackDisplayName):
* Source/WebCore/page/ElementTargetingController.cpp:
(WebCore::searchableTextForTarget):
* Source/WebCore/platform/MIMETypeRegistry.cpp:
(WebCore::MIMETypeRegistry::isSupportedJavaScriptMIMEType):
* Source/WebCore/platform/MIMETypeRegistry.h:
* Source/WebKit/WPEPlatform/wpe/drm/WPEDisplayDRM.cpp:
(wpeDisplayDRMSetup):

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



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

Reply via email to