Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/dom/network/tests/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 996 B image not shown  

Quelle  test_network_basics.html   Sprache: HTML

 
 products/Sources/formale Sprachen/C/Firefox/dom/network/tests/test_network_basics.html


<!DOCTYPE HTML>
<html>
<head>
  <title>Test for Network API</title>
  <script src="/tests/SimpleTest/SimpleTest.js"></script>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
</head>
<body>
<p id="display"></p>
<div id="content" style="display: none">
</div>
<pre id="test">
<script type="application/javascript">

/** Test for Network Information API **/
function test() {
  ok('connection' in navigator, "navigator.connection should exist");

  ok(navigator.connection, "navigator.connection returns an object");

  ok(navigator.connection instanceof EventTarget,
     "navigator.connection is a EventTarget object");

  ok('type' in navigator.connection,
     "type should be a Connection attribute");
  is(navigator.connection.type, "none",
     "By default connection.type equals to none");

  SimpleTest.finish();
}

SimpleTest.waitForExplicitFinish();
SpecialPowers.pushPrefEnv({'set': [["dom.netinfo.enabled", true]]}, test);

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

Messung V0.5
C=92 H=96 G=93

¤ Dauer der Verarbeitung: 0.10 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

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.