Revision 940c743ef143aa60d71f4c3236c24572d53ecc5d authored by Eric Willigers on 12 April 2018, 14:56:39 UTC, committed by Eric Willigers on 12 April 2018, 15:25:12 UTC
1 parent fd10426
Raw File
navigator-keyboard-lock-two-sequential-requests.https.html
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
'use strict';

promise_test(() => {
  return navigator.keyboard.lock(['a', 'b'])
      .then(() => {
        return navigator.keyboard.lock(['c', 'd']);
      });
}, '[Keyboard Lock] keyboard.lock called twice sequentially');

</script>
back to top