<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<title>window.originAgentCluster for a top-level frame sandboxed by CSP with an Origin-Agent-Cluster header</title> | |
<script src="/resources/testharness.js"></script> | |
<script src="/resources/testharnessreport.js"></script> | |
<div id="log"></div> | |
<script type="module"> | |
import { testGetter } from "../resources/helpers.mjs"; | |
// We're definitely origin-keyed: both the CSP sandboxing and the | |
// Origin-Agent-Cluster header should ensure this. | |
testGetter(self, true); | |
</script> |