-
Notifications
You must be signed in to change notification settings - Fork 0
/
mismatch-1.html
27 lines (21 loc) · 956 Bytes
/
mismatch-1.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!DOCTYPE html>
<html lang="en">
<title>OKAC demos: same-origin mismatch 1</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="style.css">
<header>
<h1>Origin-keyed agent cluster demos</h1>
<h2>Same-origin mismatch 1</h2>
</header>
<main>
<p>The following <em>same-origin</em> iframe is served with no <code>Origin-Agent-Cluster</code> header, but this page itself has one. So, both pages will get origin-keyed, but in Chrome at least, this will produce a console warning.</p>
<button id="send">Try to send a <code>WebAssembly.Module</code></button>
<button id="sync-script">Try to sychronously script the iframe</button>
<iframe src="/sub.html"></iframe>
<pre id="output"></pre>
<script type="module" src="outer-script.mjs"></script>
</main>
<footer>
<a href="https://github.com/domenic/origin-agent-cluster-demo.dev">Source and demo index</a>
</footer>