Source code

Revision control

Copy as Markdown

Other Tools

<!doctype html>
<script>
addEventListener("load", () => {
const entry = performance.getEntriesByType("navigation")[0];
try {
window.top.postMessage(entry, "*");
} catch(error) {
if (error.name == "DataCloneError") {
window.top.postMessage("PASS", "*");
} else {
window.top.postMessage("FAIL - Wrong exception name: " + error.name, "*");
}
}
window.top.postMessage("FAIL - No exception thrown", "*");
});
</script>