<body>
PASS if no crash.
<iframe src="resources/doctype.html" id="i"></iframe>
<script>
if (window.testRunner)
testRunner.dumpAsText();
window.onload = () => {
let i_doc = i.contentDocument;
i.remove();
var x = new XSLTProcessor();
var xsl = new DOMParser().parseFromString('<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"></xsl:stylesheet>','application/xml');
x.importStylesheet(xsl);
x.transformToDocument(i_doc);
}</script>