Bug 312167
| Summary: | FontFace: Reject with SyntaxError when immediate buffer source fails to parse | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Vitor Roriz <vitor.roriz> |
| Component: | Text | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | fantasai.bugs, vitor.roriz, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Vitor Roriz
Per the CSS Font Loading spec, when a FontFace is constructed from a BufferSource and the data fails to parse, the loaded promise should reject with SyntaxError instead of NetworkError. NetworkError is reserved for URL-based fetch failures.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/174669738>
Vitor Roriz
Pull request: https://github.com/WebKit/WebKit/pull/62645
EWS
Committed 311146@main (3afc1f7690c9): <https://commits.webkit.org/311146@main>
Reviewed commits have been landed. Closing PR #62645 and removing active labels.