Bug 1812499 [wpt PR 38184] - Simplify handling of name-to-subdir mapping in canvas...
[gecko.git] / dom / xslt / crashtests / 1338277.html
blobd928819c7572b55a2dea99b314c71161d176370d
1 <script id=o_xml type="text/plain"><?xml version="1.0" encoding="UTF-8"?>
2 <xb></xb>
3 </script>
4 <script id=o_xslt type="text/plain"><?xml version="1.0" encoding="UTF-8"?>
5 <xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
6 <xsl:template match="xb[$v1]"></xsl:template>
7 <xsl:variable name="v1">
8 <xsl:attribute name="a1" namespace="z">
9 <xsl:variable name="v2" select="$v2"></xsl:variable>
10 </xsl:attribute>
11 </xsl:variable>
12 </xsl:transform>
13 </script>
14 <script>
15 addEventListener("DOMContentLoaded", function(){
16 let doc = new DOMParser();
17 let xsltPrs = new XSLTProcessor();
18 xsltPrs.importStylesheet(doc.parseFromString(o_xslt.textContent, "text/xml"));
19 xsltPrs.transformToDocument(doc.parseFromString(o_xml.textContent, "text/xml"));
20 });
21 </script>