summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/fenced-frame/navigator-virtualkeyboard.https.html
blob: 4f2a17f2ff379959863b1ca1229691fd31f4bd15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<title>Test navigator.virtualKeyboard.overlaysContent</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/common/dispatcher/dispatcher.js"></script>
<script src="resources/utils.js"></script>
<script src="/common/utils.js"></script>

<body>

<script>
promise_test(async () => {
  const frame = attachFencedFrameContext();

  const response = await frame.execute(() => {
    navigator.virtualKeyboard.overlaysContent = true;
    return navigator.virtualKeyboard.overlaysContent;
  });
  assert_equals(response, false, "overlaysContent had no effect");
}, "virtualKeyboard.overlaysContent");
</script>

</body>