[webkit-changes] [WebKit/WebKit] c303cf: Web Inspector crashes due to using erroneous `Pseu...

Tim Nguyen noreply at github.com
Mon Dec 2 20:34:25 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c303cfb174dd61bb24f93bd69e41413d1efd69ec
      https://github.com/WebKit/WebKit/commit/c303cfb174dd61bb24f93bd69e41413d1efd69ec
  Author: Tim Nguyen <ntim at apple.com>
  Date:   2024-12-02 (Mon, 02 Dec 2024)

  Changed paths:
    M LayoutTests/inspector/css/getMatchedStylesForNodeBackdropPseudoId.html
    A LayoutTests/inspector/css/getMatchedStylesForNodeViewTransitionPseudoElements-expected.txt
    A LayoutTests/inspector/css/getMatchedStylesForNodeViewTransitionPseudoElements.html
    M Source/WebCore/inspector/agents/InspectorCSSAgent.cpp

  Log Message:
  -----------
  Web Inspector crashes due to using erroneous `PseudoElementIdentifier`
https://bugs.webkit.org/show_bug.cgi?id=283574
rdar://140243623

Reviewed by Devin Rousso.

Skip named view transition pseudo-elements until we're able to pass a proper `PseudoElementIdentifier` into
`pseudoStyleRulesForElement`, and once we properly support named view transition pseudo-elements.

* LayoutTests/inspector/css/getMatchedStylesForNodeBackdropPseudoId.html:
* LayoutTests/inspector/css/getMatchedStylesForNodeViewTransitionPseudoElements-expected.txt: Added.
* LayoutTests/inspector/css/getMatchedStylesForNodeViewTransitionPseudoElements.html: Added.
* Source/WebCore/inspector/agents/InspectorCSSAgent.cpp:
(WebCore::InspectorCSSAgent::getMatchedStylesForNode):

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