summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/keyboard-map/navigator-keyboard-map-two-sequential-requests.https.html
blob: c7f6b9d770f5b1b093858f9768e1b5ccd99f2e88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
'use strict';

promise_test(() => {
  return navigator.keyboard.getLayoutMap()
      .then(() => {
        return navigator.keyboard.getLayoutMap();
      });
}, '[Keyboard Map] getLayoutMap() called twice sequentially');

</script>