Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

  • This WPT test may be referenced by the following Test IDs:
    • /html/semantics/scripting-1/the-template-element/template-element/template-set-inner-html-in-inactive-document-crash.html - WPT Dashboard Interop Dashboard
<iframe id="i"></iframe>
<script>
var doc = i.contentDocument;
i.remove();
doc.createElement("template").innerHTML = "";
</script>