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

@ -324,3 +324,9 @@ partial interface Navigator {
interface NavigatorConcurrentHardware {
readonly attribute unsigned long long hardwareConcurrency;
};
// https://www.w3.org/TR/clipboard-apis/#navigator-interface
partial interface Navigator {
[Pref="dom.events.asyncClipboard", SecureContext, SameObject]
readonly attribute Clipboard clipboard;
};