Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<meta charset="utf-8">
<title>Page with child frame that navigates slowly</title>
<!--
This file is used by `../nav-cancelation-2.sub.html`. The iframe below is its
grandchild iframe, and whenever its load event fires we report this up to our
parent Document.
-->
<iframe src="slow.py"></iframe>
<script>
window.parent.postMessage("grandchild frame created", "*");
const iframe = document.querySelector('iframe');
iframe.onload = e => {
window.parent.postMessage("grandchild frame loaded", "*");
};
</script>