Bug 280664
| Summary: | Support Custom Web Format in Clipboard APIs | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Karl Dubost <karlcow> |
| Component: | HTML Editing | Assignee: | Ahmad Saleem <ahmad.saleem792> |
| 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/137026208>
Ahmad Saleem
Pull request: https://github.com/WebKit/WebKit/pull/50478