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-element-clone-into-inactive-document-crash.html - WPT Dashboard Interop Dashboard
<template id="t"> </template>
<iframe id="i"></iframe>
<script>
var doc = i.contentDocument;
i.remove();
doc.importNode(t, true);
</script>