@font-face blocks accessed over file: urls to a file which does not exist are not visible to document.fonts
Created attachment 436704 [details] Patch
Comment on attachment 436704 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=436704&action=review I don't know enough about whether pages should access local files to review this. > Source/WebCore/ChangeLog:3 > + @font-face blocks accessed over file: urls to a file which does not exist are not visible to document.fonts Can you rename this from "blocks" to "rules"? > LayoutTests/fast/text/font-file-failed.html:7 > + src: url("ThisIsNotARealFile.otf") format("opentype"); Should this be an explicit file: url so the test works if run from http?
Created attachment 436861 [details] Patch
Created attachment 437008 [details] Patch
Committed r282017 (241322@main): <https://commits.webkit.org/241322@main>
<rdar://problem/82736270>