Source code

Revision control

Copy as Markdown

Other Tools

<!doctype html>
<meta charset="utf-8">
<title>Helper page for testing preflight cache partitioning</title>
<script>
window.onmessage = (e) => {
switch (e.data.type || "") {
case "pass":
case "fail":
case "loaded":
opener.postMessage(e.data, "*");
break;
default:
let iframe = document.getElementById("iframe");
iframe.contentWindow.postMessage(e.data, "*");
break;
}
};
</script>