WPT details: https://wpt.fyi/results/clipboard-apis WPT covers the API surface at a superficial level (idl-harness) and the behavior when permissions are denied. The behavior for when permissions are granted is covered by manual tests that have automated equivalents in Chrome's LayoutTests. Fully automated tests in WPT are blocked on https://github.com/web-platform-tests/wpt/issues/5671
Implements programmatic copying and pasting of images for the Async Clipboard API. This change also updates navigator.clipboard.read() and navigator.clipboard.write() to comply with the specification. Programmatic copying and pasting of images is Chromium's top starred bug.
Docs: https://web.dev/async-clipboard/
Explainers: https://docs.google.com/document/d/1lpi3-9vBP_1b7hZc2xBs0s_HaACJ6UigZZqHlJSNeJg/ https://docs.google.com/document/d/1sMcajoYAQ_M_VOIn1RLokG1sVB7skjoeviqt9aZOcDk/