Bug 250566 - Improve wpt font-face-src coverage for garbage data
Summary: Improve wpt font-face-src coverage for garbage data
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-01-13 04:30 PST by Vitor Roriz
Modified: 2023-01-13 11:09 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitor Roriz 2023-01-13 04:30:21 PST
In wpt, we are not testing some invalid cases like where garbage data follows valid data in a component.

Example for a url component:
src: 'url("foo.ttf") dummy(xyzzy) should not be valid
Example for a local component:
src:'local(A) dummy' should not be valid
Comment 1 Radar WebKit Bug Importer 2023-01-13 04:30:33 PST
<rdar://problem/104220145>
Comment 2 Vitor Roriz 2023-01-13 08:03:17 PST
Pull request: https://github.com/WebKit/WebKit/pull/8625
Comment 3 Vitor Roriz 2023-01-13 08:14:41 PST
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/37938
Comment 4 EWS 2023-01-13 11:09:33 PST
Committed 258878@main (2a70c7ae40ad): <https://commits.webkit.org/258878@main>

Reviewed commits have been landed. Closing PR #8625 and removing active labels.