[webkit-changes] [WebKit/WebKit] 72ae66: [Web Inspector] Fix crash when inspecting counter ...

Matthieu Dubet noreply at github.com
Tue Apr 11 04:15:18 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 72ae661f7f456a00b7cf4d7e11d5c37738538de9
      https://github.com/WebKit/WebKit/commit/72ae661f7f456a00b7cf4d7e11d5c37738538de9
  Author: Matthieu Dubet <m_dubet at apple.com>
  Date:   2023-04-11 (Tue, 11 Apr 2023)

  Changed paths:
    M LayoutTests/inspector/css/getMatchedStylesForNode.html
    M Source/WebCore/css/parser/CSSParserImpl.cpp

  Log Message:
  -----------
  [Web Inspector] Fix crash when inspecting counter style rule
https://bugs.webkit.org/show_bug.cgi?id=255084
rdar://107576505

Reviewed by Patrick Angle.

consumeCounterStyleRule() already calls the Web Inspector
methods (startRuleBody/endRuleBody).
Those redundant calls make the Web Inspector crash.

* LayoutTests/inspector/css/getMatchedStylesForNode.html:
* Source/WebCore/css/parser/CSSParserImpl.cpp:
(WebCore::CSSParserImpl::consumeDeclarationListOrStyleBlockHelper):

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




More information about the webkit-changes mailing list