summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/browsers/origin/origin-keyed-agent-clusters/resources/README.md
blob: 9292fe3894e4a82f77a8877b76faa19fe6dfdb47 (plain)
1
2
3
4
5
6
Why are there `.headers` files here for the `.mjs` scripts?

Because `../getter-special-cases/sandboxed-iframe.sub.https.html` is testing an
opaque origin, which is cross-origin with these scripts. Since
`<script type="module">` respects the same-origin policy, we need CORS headers
to allow them to be accessed.