Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Potential Crash fix by not propagating empty value for face attribute
Potential Crash fix by not propagating empty value for face attribute https://bugs.webkit.org/show_bug.cgi?id=248434 Reviewed by Tim Nguyen. Merge - https://src.chromium.org/viewvc/blink?view=revision&revision=190788 This patch is to add check to ensure that "faceAttr" is not null / empty value and such values are not propagated to lead to stability issues (i.e., crashes). * Source/WebCore/html/HTMLFontElement.cpp: (HTMLFontElement::collectPresentationalHintsForAttribute): Add check for empty / null values * LayoutTests/fast/css/font-face-attribute-remove.html: Add Test Case * LayoutTests/fast/css/font-face-attribute-remove-expected.html: Add Test Case Expectation Canonical link: https://commits.webkit.org/257248@main
- Loading branch information