Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/dom/security/test/csp/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 1 kB image not shown  

Impressum file_bug1777572.html   Sprache: HTML

 

 products/Sources/formale Sprachen/C/Firefox/dom/security/test/csp/file_bug1777572.html


<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Security-Policy" content="img-src https://*;">
    <script>
      async function timeout (cmd) {
        const timer = new Promise((resolve, reject) => {
          const id = setTimeout(() => {
            clearTimeout(id)
            reject(new Error('Promise timed out!'))
          }, 750)
        })
        return Promise.race([cmd, timer])
      }

      let ourOpener = window.opener;

      if (location.search.includes("close")) {
        window.close();
      }

      document.addEventListener('DOMContentLoaded', async () => {
        const frame = document.createElementNS('http://www.w3.org/1999/xhtml', 'frame');
        const image = document.createElementNS('http://www.w3.org/2000/svg', 'image');
        document.documentElement.appendChild(frame)
        image.setAttribute('href', 'a.png')
        for (let i = 0; i < 5; ++i) {
          try { await timeout(image.decode()) } catch (e) {}
        }
        let w = window.open();
        // Need to run SpecialPowers in the newly opened window to avoid
        // .wrap throwing because of dead objects.
        let csp = w.eval("SpecialPowers.wrap(document).cspJSON;");
        ourOpener.postMessage(csp, "*");
        w.close();

        if (!location.search.includes("close")) {
          window.close();
        }
      })
    </script>
</head>
</html>

Messung V0.5 in Prozent
C=95 H=95 G=94

¤ 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.0.121Bemerkung:  (vorverarbeitet am  2026-10-11) ¤

*Bot Zugriff






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.