Summary: | @font-face rules accessed over file: urls to a file which does not exist are not visible to document.fonts | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Myles C. Maxfield <mmaxfield> | ||||||||
Component: | New Bugs | Assignee: | Myles C. Maxfield <mmaxfield> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | esprehn+autocc, ews-watchlist, glenn, gyuyoung.kim, macpherson, menard, nham, simon.fraser, webkit-bug-importer, zalan | ||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||
Version: | WebKit Nightly Build | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Bug Depends on: | |||||||||||
Bug Blocks: | 229850 | ||||||||||
Attachments: |
|
Description
Myles C. Maxfield
2021-08-27 22:07:59 PDT
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> |