Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/dom/base/test/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 1 kB image not shown  

Quelle  test_bug1126851.html

  Sprache: HTML
 

 products/Sources/formale Sprachen/C/Firefox/dom/base/test/test_bug1126851.html


<!DOCTYPE HTML>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=1126851
-->

<head>
  <meta charset="utf-8">
  <title>Test for Bug 1126851</title>
  <script src="/tests/SimpleTest/SimpleTest.js"></script>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
  <script type="application/javascript">

  /** Test for Bug 1126851 */

  SimpleTest.waitForExplicitFinish();

  let gotUnload = false;

  function runTest() {
    win = window.open("file_bug1126851_post_unload.html""");
    // Reload replaces the inner window so we cannot wait for win.onunload
    // and instead must rely on messages from the popup.
    window.onmessage = function() {
      if (gotUnload) {
        SimpleTest.finish();
      } else {
        gotUnload = true;
        ok(true, "got unload");
        win.close();
      }
    }
    // Bug 543435 caused there to be a resize event after `window.open` which
    // is also there in other browsers. But now we must ensure to get the right
    // resize event to avoid races.
    let evt;
    win.onresize = function(e) {
      if (e == evt) {
        win.location.reload();
      }
    }
    win.onload = function() {
      evt = new win.Event("resize", { bubbles: true });
      win.document.dispatchEvent(evt);
    }
  }


  </script>
</head>
<body onload="runTest()">
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1126851">Mozilla Bug 1126851</a>
<p id="display"></p>
<div id="content" style="display: none">

</div>
<pre id="test">
</pre>
</body>
</html>

Messung V0.5 in Prozent
C=99 H=100 G=99

¤ Dauer der Verarbeitung: 0.4 Sekunden  ¤

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