Bug 1744524: part 5) Add pref for enabling `clipboard.readText()` gated by a "Paste...
commit574daa1ebf497828609631b286085c58c1e12eeb
authorMirko Brodesser <mbrodesser@mozilla.com>
Thu, 16 Jun 2022 14:43:42 +0000 (16 14:43 +0000)
committerMirko Brodesser <mbrodesser@mozilla.com>
Thu, 16 Jun 2022 14:43:42 +0000 (16 14:43 +0000)
tree5da4ae427b6861734bd78783ab3d128e138f6c03
parenteeb75692f4ecfce66a6dece6e314b5e8180b09d3
Bug 1744524: part 5) Add pref for enabling `clipboard.readText()` gated by a "Paste" button. r=edgar

The web platform test (WPT) framework doesn't support such user agent
specific buttons. The corresponding WPTs continue to use the pref
"dom.events.testing.asyncClipboard", which skips showing the button.

Differential Revision: https://phabricator.services.mozilla.com/D145058
dom/events/Clipboard.cpp
dom/events/Clipboard.h
modules/libpref/init/StaticPrefList.yaml
testing/web-platform/meta/clipboard-apis/__dir__.ini