Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cf08a6c985caea9ee1c66dfddc6aef3a540b309f
      
https://github.com/WebKit/WebKit/commit/cf08a6c985caea9ee1c66dfddc6aef3a540b309f
  Author: Anne van Kesteren <[email protected]>
  Date:   2026-01-13 (Tue, 13 Jan 2026)

  Changed paths:
    M Source/WebCore/SaferCPPExpectations/UncheckedCallArgsCheckerExpectations
    M Source/WebCore/SaferCPPExpectations/UncheckedLocalVarsCheckerExpectations
    M Source/WebCore/SaferCPPExpectations/UncountedCallArgsCheckerExpectations
    M Source/WebCore/SaferCPPExpectations/UncountedLocalVarsCheckerExpectations
    M Source/WebCore/dom/Node.h
    M Source/WebCore/dom/NodeInlines.h
    M Source/WebCore/dom/StaticRange.cpp
    M Source/WebCore/dom/StaticRange.h

  Log Message:
  -----------
  Reduce unsafeness in StaticRange
https://bugs.webkit.org/show_bug.cgi?id=305374

Reviewed by Tim Nguyen.

Also change isDocumentTypeOrAttr() to use nodeType() exclusively as
that is non-virtual these days.

Helps with https://github.com/WebKit/WebKit/wiki/Safer-CPP-Guidelines

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



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

Reply via email to