[webkit-changes] [WebKit/WebKit] b86024: Address static analyzer warnings found by new clan...

Ryosuke Niwa noreply at github.com
Sat Feb 15 14:40:41 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b86024aaf341eda746e3f8a526207806beb8bc9f
      https://github.com/WebKit/WebKit/commit/b86024aaf341eda746e3f8a526207806beb8bc9f
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2025-02-15 (Sat, 15 Feb 2025)

  Changed paths:
    M Source/WTF/wtf/text/AtomString.h
    M Source/WTF/wtf/text/WTFString.h
    M Source/WebCore/inspector/agents/page/PageTimelineAgent.cpp
    M Source/WebCore/inspector/agents/worker/WorkerDebuggerAgent.cpp
    M Source/WebCore/inspector/agents/worker/WorkerDebuggerAgent.h

  Log Message:
  -----------
  Address static analyzer warnings found by new clang branch
https://bugs.webkit.org/show_bug.cgi?id=287754

Reviewed by Chris Dumez.

Fix or suppress static analyzer warnings newly found by the stable/20240723 branch.

* Source/WTF/wtf/text/AtomString.h:
* Source/WTF/wtf/text/WTFString.h:
(WTF::String::tryGetUTF8 const):
* Source/WebCore/inspector/agents/page/PageTimelineAgent.cpp:
(WebCore::PageTimelineAgent::captureScreenshot):
* Source/WebCore/inspector/agents/worker/WorkerDebuggerAgent.cpp:
(WebCore::WorkerDebuggerAgent::protectedGlobalScope const):
(WebCore::WorkerDebuggerAgent::breakpointActionLog):
(WebCore::WorkerDebuggerAgent::injectedScriptForEval):
* Source/WebCore/inspector/agents/worker/WorkerDebuggerAgent.h:

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