[webkit-changes] [WebKit/WebKit] 5d3f58: ASAN_TRAP | WebCore::Style::fontVariationSettingsF...

pratiksha-99 noreply at github.com
Wed Dec 11 16:14:24 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5d3f580ff61cbe1165dd2b28ca0b9bfea267fd8a
      https://github.com/WebKit/WebKit/commit/5d3f580ff61cbe1165dd2b28ca0b9bfea267fd8a
  Author: Pratiksha Choudhury <p_choudhury at apple.com>
  Date:   2024-12-11 (Wed, 11 Dec 2024)

  Changed paths:
    A LayoutTests/fast/dom/StyleSheet/css-font-variation-settings-crash-expected.txt
    A LayoutTests/fast/dom/StyleSheet/css-font-variation-settings-crash.html
    M Source/WebCore/style/StyleResolveForFont.cpp

  Log Message:
  -----------
  ASAN_TRAP | WebCore::Style::fontVariationSettingsFromCSSValue
https://bugs.webkit.org/show_bug.cgi?id=284248
rdar://141022736

Reviewed by Ryosuke Niwa.

Changed to use result of dynamicDowncast ColorScheme for safe dereferencing.

* LayoutTests/fast/dom/StyleSheet/css-font-variation-settings-crash-expected.txt: Added.
* LayoutTests/fast/dom/StyleSheet/css-font-variation-settings-crash.html: Added.
* Source/WebCore/style/StyleResolveForFont.cpp:
(WebCore::Style::fontVariationSettingsFromCSSValue):

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