Issue #2361 - Base implementation of Navigator.Clipboard

This hard-refuses any reads from clipboard with a promise rejection.
This commit is contained in:
Moonchild 2023-11-15 21:53:16 +01:00 • committed by roytam1
commit 3478c01fc8
13 changed files with 327 additions and 11 deletions

View file

@ -5279,3 +5279,9 @@ pref("media.sourceErrorDetails.enabled", true);
#else
pref("media.sourceErrorDetails.enabled", false);
#endif
// Whether Navigator.Clipboard methods are a thing.
pref("dom.events.asyncClipboard", false);
// Whether arbitrary data transfer methods (not plaintext) are allowed.
pref("dom.events.asyncClipboard.dataTransfer", false);