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

Quelle  test_console.html

  Sprache: HTML
 

 products/Sources/formale Sprachen/C/Firefox/dom/worklet/tests/test_console.html


<!DOCTYPE HTML>
<html>
<head>
  <title>Test for Worklet - Console</title>
  <script src="/tests/SimpleTest/SimpleTest.js"></script>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
  <script type="application/javascript" src="common.js"></script>
</head>
<body>

<script type="application/javascript">
const WORKLET_SCRIPT = "worklet_console.js";

function configureTest() {
  const ConsoleAPIStorage = SpecialPowers.Cc[
    "@mozilla.org/consoleAPI-storage;1"
  ].getService(SpecialPowers.Ci.nsIConsoleAPIStorage);

  function observe(aSubject) {
    var obj = aSubject.wrappedJSObject;
    if (obj.arguments[0] == "Hello world from a worklet") {
      ok(true, "Message received \\o/");
      is(obj.filename,
          new URL(WORKLET_SCRIPT, document.baseURI).toString());

      ConsoleAPIStorage.removeLogEventListener(observe);
      SimpleTest.finish();
    }
  }
  ConsoleAPIStorage.addLogEventListener(observe, SpecialPowers.wrap(document).nodePrincipal);
}

// This function is called into an iframe.
function runTestInIframe() {
  var audioContext = new AudioContext();
  audioContext.audioWorklet.addModule(WORKLET_SCRIPT);
}

</script>
</body>
</html>

Messung V0.5 in Prozent
C=92 H=100 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.