Bug 280664

Summary: Support Custom Web Format in Clipboard APIs
Product: WebKit Reporter: Karl Dubost <karlcow>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: BrowserCompat, InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
URL: https://w3c.github.io/clipboard-apis/#optional-data-types-x
Bug Depends on: 279712    
Bug Blocks:    

Karl Dubost
Reported 2024-09-30 22:01:13 PDT
The Clipboard API contains Optional Data Types https://w3c.github.io/clipboard-apis/#optional-data-types-x which includes a subgroup > Custom format starts with `"web "`("web" followed by U+0020 SPACE) prefix and suffix (after stripping out `"web "`) passes the parsing a MIME type check. These two tests will be failed after Bug 279712 FAIL supports(web foo/bar) returns true assert_equals: expected true but got false FAIL supports(web text/html) returns true assert_equals: expected true but got false See Also https://wpt.live/clipboard-apis/clipboard-item.https.html https://wpt.fyi/clipboard-apis/clipboard-item.https.html
Attachments
Radar WebKit Bug Importer
Comment 1 2024-09-30 22:03:51 PDT
Note You need to log in before you can comment on or make changes to this bug.