summaryrefslogtreecommitdiffstats
path: root/dom/xml/test/file_bug293347xslt.xml
blob: 44df7749e0007219342cd3ab077128afa24a36e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<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>