Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/dom/fetch/tests/   (Firefox Browser Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 1 kB image not shown  

Quelle  test_ext_response_constructor.html

  Sprache: HTML
 

 products/Sources/formale Sprachen/C/Firefox/dom/fetch/tests/test_ext_response_constructor.html


<!DOCTYPE HTML>
<html>
<head>
  <meta charset="utf-8">
  <title>Test `Response` constructor in a WebExtension</title>
  <script src="/tests/SimpleTest/SimpleTest.js"></script>
  <script src="/tests/SimpleTest/ExtensionTestUtils.js"></script>
  <link rel="stylesheet" href="/tests/SimpleTest/test.css"/>
  <script>
    add_task(async function testResponseConstructor() {
      /* eslint-env webextensions */
      function contentScript() {
        new Response();
        browser.test.notifyPass("done");
      }

      const extension = ExtensionTestUtils.loadExtension({
        manifest: {
          content_scripts: [
            {
              matches: ["<all_urls>"],
              js: ["content_script.js"],
            },
          ],
        },

        files: {
          "content_script.js": contentScript,
        },
      });

      await extension.startup();

      const win = window.open("https://example.com");
      await extension.awaitFinish("done");
      win.close();

      await extension.unload();
    });
  </script>
</head>
<body>
<p id="display"></p>
<div id="content" style="display: none"></div>
<pre id="test"></pre>
</body>
</html>

Messung V0.5 in Prozent
C=92 H=99 G=95

¤ Dauer der Verarbeitung: 0.18 Sekunden  (vorverarbeitet am  2026-06-10) ¤

*© 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.