dom/xslt/crashtests/602115.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/xslt/crashtests/602115.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,22 @@
     1.4 +<!DOCTYPE html>
     1.5 +<script>
     1.6 +
     1.7 +try {
     1.8 +  var docType = document.implementation.createDocumentType(undefined, '', '');
     1.9 +  var doc = document.implementation.createDocument('', '', null);
    1.10 +  var xp = new XSLTProcessor;
    1.11 +  xp.importStylesheet(doc);
    1.12 +  xp.transformToDocument(docType);
    1.13 +}
    1.14 +catch (ex) {}
    1.15 +
    1.16 +try {
    1.17 +  docType = document.implementation.createDocumentType(undefined, '', '');
    1.18 +  doc = document.implementation.createDocument('', '', null);
    1.19 +  xp = new XSLTProcessor;
    1.20 +  xp.importStylesheet(doc);
    1.21 +  xp.transformToFragment(docType, document);
    1.22 +}
    1.23 +catch (ex) {}
    1.24 +
    1.25 +</script>

mercurial