Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 8 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /fenced-frame/get-nested-configs.https.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>window.fence.getNestedConfigs() test</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="resources/utils.js"></script>
<script src="/common/utils.js"></script>
<script src="/common/get-host-info.sub.js"></script>
<body>
<script>
promise_test(async (t) => {
const key = token();
const url = generateURL("resources/get-nested-configs-inner.html", [key]);
attachFencedFrame(url, mode='default');
const response = await nextValueFromServer(key);
const [length, first_url] = response.split(",");
assert_equals(length, '0', 'There should be 0 nested configurations.');
}, 'getNestedConfigs() from a default mode frame should be empty');
</script>
</body>
</html>