https://github.com/web-platform-tests/wpt
Raw File
Tip revision: e327f70a174f7dfa7e60d8f78024eae7e15d17a7 authored by moz-wptsync-bot on 14 February 2018, 22:12:15 UTC
Fix detached-context.https.html to not timeout due to promise reaction callbacks not firing for detached globals.
Tip revision: e327f70
clipboard.idl
[SecureContext]
interface Clipboard : EventTarget {
  Promise<DataTransfer> read();
  Promise<DOMString> readText();

  Promise<void> write(DataTransfer data);
  Promise<void> writeText(DOMString data);
};

[SecureContext]
partial interface Navigator {
  [SameObject] readonly attribute Clipboard clipboard;
};
back to top