tor-browser

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

navigator-keyboard-lock-two-sequential-requests.https.html (380B)


      1 <!DOCTYPE html>
      2 <script src="/resources/testharness.js"></script>
      3 <script src="/resources/testharnessreport.js"></script>
      4 <script>
      5 'use strict';
      6 
      7 promise_test(() => {
      8  return navigator.keyboard.lock(["KeyA", "KeyB"])
      9      .then(() => {
     10        return navigator.keyboard.lock(["KeyC", "KeyD"]);
     11      });
     12 }, '[Keyboard Lock] keyboard.lock called twice sequentially');
     13 
     14 </script>