LGTM1 - but I do have some comments.

It's good catching up here, but I recommend always to write an explainer. For a trivial change, it might be a trivial explainer, but just something for those that are not intimately familiar with the area. Might just be a one or a few sentences. And it's not too late.

I see that Chromium currently also fails the DOMString test without promises, but with a Promise error so that test may be buggy.

/Daniel

On 2024-10-24 12:08, Chromestatus wrote:


        Contact emails

sambamurthy.band...@microsoft.com, ragou...@microsoft.com, sa...@microsoft.com


        Explainer

None


        Specification

https://www.w3.org/TR/clipboard-apis/#typedefdef-clipboarditemdata


        Summary

The ClipboardItem, which is the input to the async clipboard write method, now accepts string values in addition to Blobs in its constructor. ClipboardItemData can be a Blob, a string, or a Promise that resolves to either a Blob or a string.



        Blink component

Blink>DataTransfer <https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink>DataTransfer>


        TAG review

None


        TAG review status

Not applicable


        Risks



        Interoperability and Compatibility

This is already supported in Firefox and Safari



/Gecko/: Shipped/Shipping (https://developer.mozilla.org/en-US/docs/Web/API/ClipboardItem/ClipboardItem#data)

/WebKit/: Shipped/Shipping (https://webkit.org/blog/10855/async-clipboard-api)

/Web developers/: No signals

/Other signals/:


        WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?

None



        Debuggability

None



        Will this feature be supported on all six Blink platforms
        (Windows, Mac, Linux, ChromeOS, Android, and Android WebView)?

Yes


        Is this feature fully tested by web-platform-tests
        
<https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>?

Yes

https://wpt.fyi/results/clipboard-apis/async-navigator-clipboard-basics.https.html



        Flag name on chrome://flags

None


        Finch feature name

ClipboardItemWithDOMStringSupport


        Requires code in //chrome?

False


        Tracking bug

https://issues.chromium.org/issues/40766145


        Estimated milestones

DevTrial on desktop     132
DevTrial on Android     132
DevTrial on iOS         132



        Anticipated spec changes

Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way).

None


        Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/4926138582040576?gate=4779038837833728

This intent message was generated by Chrome Platform Status <https://chromestatus.com>.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscr...@chromium.org. To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/671a1c83.710a0220.3c7610.03ef.GAE%40google.com <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/671a1c83.710a0220.3c7610.03ef.GAE%40google.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to blink-dev+unsubscr...@chromium.org.
To view this discussion visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/702e53aa-c46f-4eef-a8fb-a664d2fc9c27%40gmail.com.

Reply via email to