Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  1941002-1.html

  Sprache: HTML
 

 products/Sources/formale Sprachen/C/Firefox/dom/xslt/crashtests/1941002-1.html


<html class="reftest-wait">
<body>
<script>
  function checkEvents(test, callback) {
    const detailsElement = document.getElementById("detailsElement");
    detailsElement.addEventListener("toggle", callback, { once: true });
    detailsElement.setAttribute("open""");

    test();

    detailsElement.removeAttribute("open");
  }

  function destroyElement(doc) {
    doc.removeChild(doc.documentElement);
    SpecialPowers.forceGC();
    SpecialPowers.forceCC();
  }

  const xmlString = `<foo><bar/></foo>`;
  const xsltString = `
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <xsl:include href="1941002.sjs"/>
      <xsl:template match="/">
        <xsl:copy-of select="foo|(document('1941002.sjs')/xsl:stylesheet)"/>
      </xsl:template>
    </xsl:stylesheet>
  `;

  const parser = new DOMParser();
  const xmlDoc = parser.parseFromString(xmlString, "application/xml");
  const xsltDoc = parser.parseFromString(xsltString, "application/xml");
  const xsltProcessor = new XSLTProcessor();

  addEventListener("load", () => {
    checkEvents(() => {
      xsltProcessor.importStylesheet(xsltDoc);
    }, () => { destroyElement(xsltDoc); });

    checkEvents(() => {
      xsltProcessor.transformToFragment(xmlDoc, document);
    }, () => { destroyElement(xmlDoc); });

    document.documentElement.classList.remove("reftest-wait");
  });
</script>
<details id="detailsElement"></details>
</body>
</html>

Messung V0.5 in Prozent
C=88 H=100 G=94

¤ Dauer der Verarbeitung: 0.3 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=141584
#Domains=752002