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

Quelle  test_uri_scheme.html

  Sprache: HTML
 

 products/Sources/formale Sprachen/C/Firefox/netwerk/test/mochitests/test_uri_scheme.html


<!DOCTYPE HTML>
<html>
<!--
-->

<head>
  <title>Test for URI Manipulation</title>
  <script src="/tests/SimpleTest/SimpleTest.js"></script>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />

<script type="text/javascript">
function dotest1()
{
  SimpleTest.waitForExplicitFinish();
  var o = new URL("http://localhost/");
  try { o.href = "foopy:bar:baz"; } catch(e) { }
  o.protocol = "http:";
  o.hostname;
  try { o.href = "http://localhost/"; } catch(e) { }
  ok(o.protocol, "http:");
  dotest2();
}

function dotest2()
{
  var o = new URL("http://www.mozilla.org/");
  try {
      o.href ="aaaaaaaaaaa:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
  } catch(e) { }
  o.hash = "#";
  o.pathname = "/";
  o.protocol = "http:";
  try { o.href = "http://localhost/"; } catch(e) { }
  ok(o.protocol, "http:");
  dotest3();
}

function dotest3()
{
  is(new URL("resource://123/").href, "resource://123/");
  SimpleTest.finish();
}
</script>
</head>
<body onload="dotest1();">
<p id="display"></p>
<div id="content" style="display: none"></div>
<pre id="test">
</pre>
</body>
</html>

Messung V0.5 in Prozent
C=90 H=96 G=93

¤ Dauer der Verarbeitung: 0.14 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.