summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/fenced-frame/resources/get-nested-configs-inner.html
blob: a83ba93aa6d14dd9d03a77f9097c376810d25c3c (plain)
1
2
3
4
5
6
7
8
9
10
<!DOCTYPE html>
<script src="utils.js"></script>
<title>Send the results of getNestedConfigs() to the embedder</title>
<script>
const [key] = parseKeylist();
const configs = window.fence.getNestedConfigs();
const data_to_send = [configs.length, configs.length > 0 ? configs[0].url : "N/a"];
writeValueToServer(key, data_to_send.join(","));
</script>
</html>