Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/dom/xul/test/     Datei vom 27.6.2026 mit Größe 1 kB image not shown  

SSL test_warning_reporter.html  Sprache: HTML


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


<!DOCTYPE HTML>
<html>
<head>
  <title>Test for Worklet - Warnings</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">
function runTestInIframe() {
  var audioContext = new AudioContext();
  audioContext.audioWorklet.addModule("warning_reporter_worklet.js")
  .then(() => {
    const node = new AudioWorkletNode(audioContext, "warning");
    node.port.onmessage = e => {
      ok(e.data.caught, "An error should be caught");
      SimpleTest.finish();
    }
  });
}
</script>
</body>
</html>

Messung
CHZG
8010010093

¤ Dauer der Verarbeitung: 0.4 Sekunden  (vorverarbeitet am  2026-11-25) ¤

*Bot Zugriff