Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/docshell/test/browser/   (Firefox Browser Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 998 B image not shown  

Quelle  file_bug1328501_framescript.js

  Sprache: JAVA
 

// Forward iframe loaded event.

/* eslint-env mozilla/frame-script */

addEventListener(
  "frames-loaded",
  () => sendAsyncMessage("test:frames-loaded"),
  true,
  true
);

let requestObserver = {
  observe(subject, topic) {
    if (topic == "http-on-opening-request") {
      // Get DOMWindow on all child docshells to force about:blank
      // content viewers being created.
      getChildDocShells().map(ds => {
        ds
          .QueryInterface(Ci.nsIInterfaceRequestor)
          .getInterface(Ci.nsILoadContext).associatedWindow;
      });
    }
  },
  QueryInterface: ChromeUtils.generateQI(["nsIObserver"]),
};
Services.obs.addObserver(requestObserver, "http-on-opening-request");
addEventListener("unload", e => {
  if (e.target == this) {
    Services.obs.removeObserver(requestObserver, "http-on-opening-request");
  }
});

function getChildDocShells() {
  return docShell.getAllDocShellsInSubtree(
    Ci.nsIDocShellTreeItem.typeAll,
    Ci.nsIDocShell.ENUMERATE_FORWARDS
  );
}

Messung V0.5 in Prozent
C=88 H=90 G=88

¤ Dauer der Verarbeitung: 0.11 Sekunden  (vorverarbeitet am  2026-06-04) ¤

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