tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

keyboard-lock.idl (461B)


      1 // GENERATED CONTENT - DO NOT EDIT
      2 // Content was automatically extracted by Reffy into webref
      3 // (https://github.com/w3c/webref)
      4 // Source: Keyboard Lock (https://wicg.github.io/keyboard-lock/)
      5 
      6 partial interface Navigator {
      7  [SecureContext, SameObject] readonly attribute Keyboard keyboard;
      8 };
      9 
     10 [SecureContext, Exposed=Window]
     11 interface Keyboard : EventTarget {
     12  Promise<undefined> lock(optional sequence<DOMString> keyCodes = []);
     13  undefined unlock();
     14 };