chromium/third_party/blink/web_tests/fast/loader/document-open-iframe-then-detach.html

PASS if no timeout.
<iframe id="i"></iframe>
<script>
if (window.testRunner) {
  testRunner.dumpAsText();
  testRunner.waitUntilDone();
}

i.contentDocument.open();
setTimeout(function() {
  i.remove();
  if (window.testRunner)
      testRunner.notifyDone();
}, 0);
</script>