summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/fenced-frame/resources/window-frameElement-inner.html
blob: 897d9a0d592c88564e6d5af60324c11e5e8f2410 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<script src="utils.js"></script>
<title>Fenced frame content to report the value of window.frameElement</title>

<body>
<script>
(async () => {
  // Report whether or not `window.frameElement` is null
  const [frame_element_key] = parseKeylist();
  let result = (window.frameElement == null) ? "PASS" : "FAIL";
  writeValueToServer(frame_element_key, result);
})();
</script>
</body>