Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/dom/tests/mochitest/dom-level0/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 874 B image not shown  

Quelle  child_ip_address.html

  Sprache: HTML
 

 products/Sources/formale Sprachen/C/Firefox/dom/tests/mochitest/dom-level0/child_ip_address.html


<!DOCTYPE html>
<html>
<head>
  <title>Child window at 127.0.0.1</title>
  <script type="application/javascript">
function run()
{
  var target = document.getElementById("location");
  target.textContent = location.hostname + ":" + (location.port || 80);

  var message = "child-response";

  var domain = document.domain;
  if (domain !== "127.0.0.1")
    message += " wrong-initial-domain(" + domain + ")";

  try
  {
    document.domain = "0.0.1";
    domain = document.domain;
    message += " ip-address-shortened-to(" + domain + ")";
  }
  catch (e)
  {
    domain = document.domain;
    if (domain !== "127.0.0.1")
      message += " ip-address-mutated-on-throw(" + domain + ")";
  }

  window.parent.postMessage(message, "http://mochi.test:8888");
}

window.addEventListener("load", run);
  </script>
</head>
<body>
<h1 id="location">Somewhere!</h1>
</body>
</html>

Messung V0.5 in Prozent
C=96 H=46 G=75

¤ Dauer der Verarbeitung: 0.14 Sekunden  (vorverarbeitet am  2026-08-26) ¤

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