Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / xsl / xslt-transform-to-fragment-crash.html
blob82b11446326053608494fab999613299986d68e9
1 <!DOCTYPE html>
2 <html>
3 Test passes if it does not crash.
4 <script>
5 if (window.testRunner)
6 testRunner.dumpAsText();
8 var style = '\
9 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> \
10 <xsl:variable name="test"></xsl:variable> \
11 <xsl:variable name="test"></xsl:variable> \
12 </xsl:stylesheet>';
13 var xslp = new XSLTProcessor();
14 var foo = new DOMParser().parseFromString(style, "text/xml");
15 xslp.importStylesheet(foo);
16 xslp.transformToFragment(foo, document);
17 xslp.transformToFragment(foo, document);
18 </script>
19 </html>