Interesting problem, never thought about this ergonomic problem.

On Sep 19, 2023, at 2:12, 'Anupam Snigdha' via blink-dev <blink-dev@chromium.org> wrote:



Contact emails

Explainer



Specification



Summary

Currently during async clipboard write operation, there is no way for the web authors to detect if a particular mime type is supported by the UAs or not before attempting to actually write the formats to the clipboard. This not only affects developer ergonomics as now web authors have to attempt to write to the clipboard first in order to find out whether write failed due to a particular mime type not supported by the UAs (or sometimes add version checks that are unreliable at best), but also leads to unnecessary cost in terms of CPU cycles, COGS etc in order to produce an expensive web custom format which may not be supported by a particular browser.



Blink component

Search tags

TAG review

None

TAG review status

Not applicable

Why is it not applicable? 



WebFeature UseCounter name

kAsyncClipboardAPISupportsTypes

Risks



Interoperability and Compatibility

None

Ergonomics

N/A



Activation

N/A



Security

N/A



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?

N/A



Debuggability

Existing devtools support should be sufficient to query the static method from ClipboardItem.



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

Yes

Is this feature fully tested by web-platform-tests?

Yes

Flag name on chrome://flags

ClipboardSupportedTypes

Finch feature name

None

Non-finch justification

None

Requires code in //chrome?

False

Tracking bug

Measurement

Added usage metrics: AsyncClipboardAPISupportsTypes

Adoption expectation

Excel online is ready to use this API for adding web custom format support.

Adoption plan

Support for web custom format is already in inner rings, so once this gets added to the clipboard API, Excel would be ready to use it right away.

Sample links

Estimated milestones

Shipping on desktop
119
DevTrial on desktop
119
Shipping on Android
119
DevTrial on Android
119


Link to entry on the Chrome Platform Status

This intent message was generated by Chrome Platform Status.

Thanks,
Anupam

Sent from Outlook

--
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 on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/BY5PR00MB08403037ADC9DD9A11BB4603CFFBA%40BY5PR00MB0840.namprd00.prod.outlook.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 on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/5DB3A2F8-4BA8-4E5C-8B28-FEA75C79F7B7%40chromium.org.

Reply via email to