Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/docshell/test/navigation/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 1 kB image not shown  

Quelle  test_sibling-off-domain.html   Sprache: HTML

 
 products/Sources/formale Sprachen/C/Firefox/docshell/test/navigation/test_sibling-off-domain.html


<!DOCTYPE html>
<html>
<head>
    <script src="/tests/SimpleTest/SimpleTest.js"></script>
    <script src="/tests/SimpleTest/EventUtils.js"></script>
    <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
    <script type="text/javascript" src="NavigationUtils.js"></script>
    <style type="text/css">
      iframe { width: 90%; height: 50px; }
    </style>
<script>
window.onload = async function() {
  document.getElementById("active").innerHTML =
      '' +
      '' +
      '' +
      '';

  await waitForFinishedFrames(4);

  isBlank(frames[0], "Should not be able to navigate off-domain sibling by setting location.");
  isBlank(frames[1], "Should not be able to navigate off-domain sibling by calling window.open.");
  isBlank(frames[2], "Should not be able to navigate off-domain sibling by submitting form.");
  isBlank(frames[3], "Should not be able to navigate off-domain sibling by targeted hyperlink.");

  await cleanupWindows();
  SimpleTest.finish();
};
</script>
</head>
<body>
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=408052">Mozilla Bug 408052</a>
<div id="frames">
<iframe name="child0" src="blank.html"></iframe>
<iframe name="child1" src="blank.html"></iframe>
<iframe name="child2" src="blank.html"></iframe>
<iframe name="child3" src="blank.html"></iframe>
</div>
<div id="active"></div>
<pre id="test">
<script type="text/javascript">
SimpleTest.waitForExplicitFinish();
</script>
</pre>
</body>
</html>

100%


¤ Dauer der Verarbeitung: 0.18 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 ist noch experimentell.