Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0ca3d955d80a15db42ca63e9240a4cbf2cef64c7
https://github.com/WebKit/WebKit/commit/0ca3d955d80a15db42ca63e9240a4cbf2cef64c7
Author: Tim Nguyen <[email protected]>
Date: 2023-09-08 (Fri, 08 Sep 2023)
Changed paths:
A
LayoutTests/fast/css/getComputedStyle-font-variant-shorthand-crash-expected.txt
A LayoutTests/fast/css/getComputedStyle-font-variant-shorthand-crash.html
M Source/WebCore/css/ComputedStyleExtractor.cpp
Log Message:
-----------
REGRESSION(267658@main): Crash in CSSValue::cssText() when showing web
inspector
https://bugs.webkit.org/show_bug.cgi?id=261322
rdar://115124068
Reviewed by Antti Koivisto.
Avoid a nullptr deref by skipping properties that are disabled (including
font-variant-emoji).
*
LayoutTests/fast/css/getComputedStyle-font-variant-shorthand-crash-expected.txt:
Added.
* LayoutTests/fast/css/getComputedStyle-font-variant-shorthand-crash.html:
Added.
* Source/WebCore/css/ComputedStyleExtractor.cpp:
(WebCore::ComputedStyleExtractor::fontVariantShorthandValue const):
Canonical link: https://commits.webkit.org/267787@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes