Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/netwerk/test/unit/   (Firefox Browser Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 567 B image not shown  

Quelle  test_bug376865.js

  Sprache: JAVA
 

"use strict";

function run_test() {
  var stream = Cc["@mozilla.org/io/string-input-stream;1"].createInstance(
    Ci.nsISupportsCString
  );
  stream.data = "foo bar baz";

  var pump = Cc["@mozilla.org/network/input-stream-pump;1"].createInstance(
    Ci.nsIInputStreamPump
  );
  pump.init(stream, 00false);

  // When we pass a null listener argument too asyncRead we expect it to throw
  // instead of crashing.
  try {
    pump.asyncRead(null);
  } catch (e) {
    return;
  }

  do_throw("asyncRead didn't throw when passed a null listener argument.");
}

Messung V0.5 in Prozent
C=90 H=94 G=91

¤ Dauer der Verarbeitung: 0.10 Sekunden  (vorverarbeitet am  2026-06-05) ¤

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