[webkit-changes] [WebKit/WebKit] 98dc16: Always pass a span to String/StringImpl's createUn...

Chris Dumez noreply at github.com
Mon Oct 28 13:35:11 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 98dc165d6ab86086c87d419d5fbd8d198826e76d
      https://github.com/WebKit/WebKit/commit/98dc165d6ab86086c87d419d5fbd8d198826e76d
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-10-28 (Mon, 28 Oct 2024)

  Changed paths:
    M Source/JavaScriptCore/runtime/FuzzerPredictions.cpp
    M Source/JavaScriptCore/runtime/JSGenericTypedArrayViewPrototype.cpp
    M Source/JavaScriptCore/runtime/StringConstructor.cpp
    M Source/WTF/wtf/StdLibExtras.h
    M Source/WTF/wtf/cf/CFURLExtras.cpp
    M Source/WTF/wtf/persistence/PersistentCoders.cpp
    M Source/WTF/wtf/text/AtomStringImpl.cpp
    M Source/WTF/wtf/text/StringImpl.cpp
    M Source/WTF/wtf/text/StringImpl.h
    M Source/WTF/wtf/text/StringView.cpp
    M Source/WTF/wtf/text/WTFString.cpp
    M Source/WTF/wtf/text/WTFString.h
    M Source/WTF/wtf/win/LanguageWin.cpp
    M Source/WebCore/PAL/pal/text/TextCodecLatin1.cpp
    M Source/WebCore/bindings/js/SerializedScriptValue.cpp
    M Source/WebCore/rendering/RenderListMarker.cpp
    M Source/WebCore/rendering/RenderText.cpp
    M Source/WebKit/Platform/IPC/DaemonCoders.h
    M Source/WebKit/Platform/IPC/DaemonDecoder.cpp
    M Source/WebKit/Platform/IPC/DaemonDecoder.h
    M Source/WebKit/Platform/IPC/Decoder.h

  Log Message:
  -----------
  Always pass a span to String/StringImpl's createUninitialized()
https://bugs.webkit.org/show_bug.cgi?id=282175

Reviewed by Geoffrey Garen.

* Source/JavaScriptCore/runtime/FuzzerPredictions.cpp:
(JSC::readFileIntoString):
* Source/JavaScriptCore/runtime/JSGenericTypedArrayViewPrototype.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):
* Source/JavaScriptCore/runtime/StringConstructor.cpp:
(JSC::JSC_DEFINE_HOST_FUNCTION):
* Source/WTF/wtf/StdLibExtras.h:
* Source/WTF/wtf/cf/CFURLExtras.cpp:
(WTF::bytesAsString):
* Source/WTF/wtf/persistence/PersistentCoders.cpp:
(WTF::Persistence::decodeStringText):
* Source/WTF/wtf/text/AtomStringImpl.cpp:
(WTF::HashedUTF8CharactersTranslator::translate):
* Source/WTF/wtf/text/StringImpl.cpp:
(WTF::StringImpl::convertToUppercaseWithoutLocaleStartingAtFailingIndex8Bit):
(WTF::StringImpl::convertToUppercaseWithoutLocaleUpconvert):
(WTF::StringImpl::convertToLowercaseWithLocale):
(WTF::StringImpl::convertToUppercaseWithLocale):
(WTF::StringImpl::replace):
* Source/WTF/wtf/text/StringImpl.h:
* Source/WTF/wtf/text/StringView.cpp:
(WTF::convertASCIICase):
(WTF::normalizedNFC):
(WTF::makeStringBySimplifyingNewLinesSlowCase):
* Source/WTF/wtf/text/WTFString.cpp:
(WTF::String::make8Bit):
(WTF::String::convertTo16Bit):
* Source/WTF/wtf/text/WTFString.h:
* Source/WTF/wtf/win/LanguageWin.cpp:
(WTF::localeInfo):
* Source/WebCore/PAL/pal/text/TextCodecLatin1.cpp:
(PAL::TextCodecLatin1::decode):
* Source/WebCore/bindings/js/SerializedScriptValue.cpp:
(WebCore::CloneDeserializer::readString):
* Source/WebCore/rendering/RenderListMarker.cpp:
(WebCore::reversed):
* Source/WebCore/rendering/RenderText.cpp:
(WebCore::RenderText::secureText):
* Source/WebKit/Platform/IPC/DaemonCoders.h:
(WebKit::Daemon::Coder<WTF::String>::decodeStringText):
* Source/WebKit/Platform/IPC/DaemonDecoder.cpp:
(WebKit::Daemon::Decoder::decodeFixedLengthData):
(WebKit::Daemon::Decoder::decodeFixedLengthReference):
* Source/WebKit/Platform/IPC/DaemonDecoder.h:
* Source/WebKit/Platform/IPC/Decoder.h:
(IPC::Decoder::decodeSpan):

Canonical link: https://commits.webkit.org/285785@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