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.
This is already supported in Firefox and Safari
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
None
None
https://wpt.fyi/results/clipboard-apis/async-navigator-clipboard-basics.https.html
DevTrial on desktop | 132 |
DevTrial on Android | 132 |
DevTrial on iOS | 132 |
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).
NoneLGTM1 - 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
--
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+...@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.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/702e53aa-c46f-4eef-a8fb-a664d2fc9c27%40gmail.com.
In https://chromestatus.com/feature/4926138582040576?gate=4779038837833728 I see that 3 API Owners are marked as having approved, but in this thread there are only two votes.
I assume that it’s this thread that should be treated as the source of truth (is that right?), but maybe Alex can clarify if he meant to record an LGTM here as well?
-- Dan
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/d936d61d-580a-4f19-85bd-83409589b80en%40chromium.org.
They should really just be in sync. We have not discussed if one of them is more canon than the other.
Alex, just missing a mail for your lgtm?
/Daniel
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.