<html>
<head>
<script>
function crash() {
  document.querySelector("iframe").onload = null;
  document.querySelector("iframe").srcdoc = "2nd page";
}
</script>
</head>
<body onload="crash()">
  <iframe srcdoc="<html><body onload=$quot;document.body.setAttribute('spellcheck', true);$quot;></body></html>"></iframe>
</body>
</html>
