Remove fonts from CSSFontFaceSet safely
authorantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 Nov 2018 13:48:52 +0000 (13:48 +0000)
committerantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 15 Nov 2018 13:48:52 +0000 (13:48 +0000)
commitfbc657770f8ac063265f4e9d5f2a1e9dffb8f7e9
treedf990329a8c5dfb9ce15b9052109537c6a1117fc
parentc7f72316eb3757eae5a6953a5851ef7af34e1a4a
Remove fonts from CSSFontFaceSet safely
https://bugs.webkit.org/show_bug.cgi?id=191676

Reviewed by Zalan Bujtas.

Source/WebCore:

Test: fast/text/font-face-set-remove-safely.html

* css/CSSFontFaceSet.cpp:
(WebCore::CSSFontFaceSet::remove):

LayoutTests:

* fast/text/font-face-set-remove-safely-expected.txt: Added.
* fast/text/font-face-set-remove-safely.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@238222 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/text/font-face-set-remove-safely-expected.txt [new file with mode: 0644]
LayoutTests/fast/text/font-face-set-remove-safely.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/css/CSSFontFaceSet.cpp