gecko/content/xml/document/test/file_bug293347xslt.xml

20 lines
443 B
XML

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/doc">
<html>
<body>
<div></div>
<div>
<script>
didThrow = false;
try {
document.write("shrimp");
} catch (e) {
didThrow = true;
}
</script>
</div>
</body>
</html>
</xsl:template>
</xsl:stylesheet>