Re: [w3c/clipboard-apis] Feature detection for supported clipboard formats (Issue #170)

> The fingerprinting risk was not identified in the privacy section.

This API is just used for feature detection of a clipboard format which could be supported by multiple browsers so not sure if this has any fingerprinting issues. Could you please elaborate? 

> "If type is in [mandatory data types](https://w3c.github.io/clipboard-apis/#mandatory-data-types) or [optional data types](https://w3c.github.io/clipboard-apis/#optional-data-types), then return true." This reads as if you just concatenate the lists from each section, but I think that the second set needs to be filtered, with optional types that are not supported by the UA being removed.

Note that the difference between the two list is the usage of the words MUST and MAY. In our [previous conversations at EditingWG meetings](https://github.com/w3c/editing/issues/305#issuecomment-843635197), we agreed that we would add formats to the `mandatory data types` list only if it's supported by all three major browser vendors (FF, Webkit and Blink). But to document what MAY be supported by UAs, we added a separate list which is the `optional data types`.
The three formats listed in the optional data types are supported by at least two UAs(or planning to add support for it):
`text/uri-list` : Supported by Webkit and Blink has [plans to support](https://bugs.chromium.org/p/chromium/issues/detail?id=1099775) them as well.
`image/svg+xml`: Supported by Blink, but Webkit has [plans to support](https://lists.webkit.org/pipermail/webkit-dev/2021-August/031940.html) them as well.
`Web custom format`: Supported by Blink, but[ Firefox has plans to support them as well](https://github.com/w3c/clipboard-apis/issues/165#issue-1117218251) in the future. Webkit can technically support them for same origin copy-paste as well.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/clipboard-apis/issues/170#issuecomment-1726119920
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/clipboard-apis/issues/170/1726119920@github.com>

Received on Tuesday, 19 September 2023 17:15:09 UTC