<!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>
