[w3c/clipboard-apis] Add explicit language around (not) sanitizing images. (#156)

Images are only sanitized when writing to the clipboard, not when
reading them back. This is consistent with the Firefox and Safari
implementations, while Chrome also plans to match this behavior.

This is merely clarifying spec language. Before the spec was silent on
transcoding images on read, while now we make it explicit that not
transcoding should be done.

For normative changes, the following tasks have been completed:

 * [ ] Modified Web platform tests (link to pull request)

Implementation commitment:

 * [x] WebKit (matches current behavior)
 * [x] Chromium (https://chromestatus.com/feature/5629962485760000)
 * [x] Gecko (matches current behavior)


<!--
    This comment and the below content is programatically generated.
    You may add a comma-separated list of anchors you'd like a
    direct link to below (e.g. #idl-serializers, #idl-sequence):

    Don't remove this comment or modify anything below this line.
    If you don't want a preview generated for this pull request,
    just replace the whole of this comment's content by "no preview"
    and remove what's below.
-->
***
<a href="https://pr-preview.s3.amazonaws.com/mkruisselbrink/clipboard-apis/pull/156.html" title="Last updated on Sep 7, 2021, 9:09 PM UTC (669d8b7)">Preview</a> | <a href="https://pr-preview.s3.amazonaws.com/w3c/clipboard-apis/156/71c9405...mkruisselbrink:669d8b7.html" title="Last updated on Sep 7, 2021, 9:09 PM UTC (669d8b7)">Diff</a>
You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/clipboard-apis/pull/156

-- Commit Summary --

  * Add explicit language around (not) sanitizing images.

-- File Changes --

    M explainer.adoc (11)
    M index.bs (12)

-- Patch Links --

https://github.com/w3c/clipboard-apis/pull/156.patch
https://github.com/w3c/clipboard-apis/pull/156.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/clipboard-apis/pull/156

Received on Tuesday, 7 September 2021 21:09:49 UTC