blob: 5055d295d03711917378895392f44bbe783adc2b [file] [log] [blame]
<!DOCTYPE html>
<meta charset="utf-8">
<title>Parent is isolated, child is not isolated, child is a subdomain of the parent</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script type="module">
import { insertIframe, testDifferentAgentClusters } from "./resources/helpers.mjs";
promise_setup(async () => {
await insertIframe("{{hosts[][www]}}");
});
// Since they're different-origin, the parent's isolation request is respected,
// as is the child's non-request. So the parent ends up in the origin-keyed
// agent cluster and the child ends up in the site-keyed one.
testDifferentAgentClusters([self, 0]);
</script>