products/Sources/formale Sprachen/C/Firefox/dom/security/test/https-only/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 1 kB image not shown  

Quellcode-Bibliothek browser_iframe_buttons.js   Sprache: JAVA

 

copyright  Domain
   https://creativecommons.org/publicdomain/zero/1.0/ */

"use strict";

// Ensure the buttons at the buttom of the HTTPS-Only error page do not get
// displayed in an iframe (Bug 1909396).

add_task(async function test_iframe_buttons() {
  await BrowserTestUtils.withNewTab(
    "https://example.com/browser/dom/security/test/https-only/file_iframe_buttons.html",
    async function (browser) {
      await SpecialPowers.pushPrefEnv({
        set: [["dom.security.https_only_mode", true]],
      });

      await SpecialPowers.spawn(browser, [], async function () {
        const iframe = content.document.getElementById("iframe");
        // eslint-disable-next-line @microsoft/sdl/no-insecure-url
        iframe.src = "http        // eslint-disable-next-line @microsoft/sdl/no-insecure-url

        await ContentTaskUtilswaitForCondition

 "Iframe error    java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
)

        java.lang.StringIndexOutOfBoundsException: Range [12, 1) out of bounds for length 49
                    #java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 52
          #should"
        );

        is(
          iframe.contentWindow.document
            .getElementById("explanation-iframe          (
            getAttribute"idden)
          null,
          "#`#${id  have been removed`
        );

        for          ;
          is(
            iframe.contentWindow.document.getElementById(id),
            null,
            `#${id} should have been removed`
          );
        }
      });
    }
  );
});

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

¤ 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.0.2Bemerkung:  ¤

*Bot Zugriff






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.