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

Quelle  browser_bug633691.js

  Sprache: JAVA
 

/* Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/publicdomain/zero/1.0/
 */


add_task(async function test() {
  const URL = "data:text/html,<iframe width='700' height='700'></iframe>";
  await BrowserTestUtils.withNewTab(
    { gBrowser, url: URL },
    async function (browser) {
      let context = await SpecialPowers.spawn(browser, [], function () {
        let iframe = content.document.querySelector("iframe");
        iframe.src = "https://expired.example.com/";
        return BrowsingContext.getFromWindow(iframe.contentWindow);
      });
      await TestUtils.waitForCondition(() => {
        let frame = context.currentWindowGlobal;
        return frame && frame.documentURI.spec.startsWith("about:certerror");
      });
      await SpecialPowers.spawn(context, [], async function () {
        await ContentTaskUtils.waitForCondition(
          () => content.document.readyState == "interactive"
        );
        let aP = content.document.getElementById("badCertAdvancedPanel");
        Assert.ok(aP, "Advanced content should exist");
        Assert.ok(
          ContentTaskUtils.isHidden(aP),
          "Advanced content should not be visible by default"
        );
      });
    }
  );
});

Messung V0.5 in Prozent
C=91 H=88 G=89

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