[webkit-changes] [WebKit/WebKit] 764233: REGRESSION(267786 at main): Nullptr crash under resol...

Antti Koivisto noreply at github.com
Wed Sep 13 08:05:30 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7642333842d2e1878af6949a67fac4d8861b73f2
      https://github.com/WebKit/WebKit/commit/7642333842d2e1878af6949a67fac4d8861b73f2
  Author: Antti Koivisto <antti at apple.com>
  Date:   2023-09-13 (Wed, 13 Sep 2023)

  Changed paths:
    A LayoutTests/fast/css/computed-style-no-render-tree-crash-expected.txt
    A LayoutTests/fast/css/computed-style-no-render-tree-crash.html
    M Source/WebCore/dom/Document.cpp

  Log Message:
  -----------
  REGRESSION(267786 at main): Nullptr crash under resolveComputedStyle when there is no render tree
https://bugs.webkit.org/show_bug.cgi?id=261509
rdar://115348354

Reviewed by Alan Baradlay.

* LayoutTests/fast/css/computed-style-no-render-tree-crash-expected.txt: Added.
* LayoutTests/fast/css/computed-style-no-render-tree-crash.html: Added.
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::styleForElementIgnoringPendingStylesheets):

Render tree may not be present during navigations.

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




More information about the webkit-changes mailing list