Revision 7a199e902ad9204594aac0ad9ac702fc46e55223 authored by Anne van Kesteren on 24 April 2018, 09:44:42 UTC, committed by GitHub on 24 April 2018, 09:44:42 UTC
Fixes https://github.com/whatwg/xhr/issues/191.
1 parent 0d56422
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(["KeyA", "KeyB"])
.then(() => {
return navigator.keyboard.lock(["KeyC", "KeyD"]);
});
}, '[Keyboard Lock] keyboard.lock called twice sequentially');
</script>
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...