Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/dom/origin-trials/tests/mochitest/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 893 B image not shown  

Quelle  test_subdomain.html   Sprache: HTML

 
 products/Sources/formale Sprachen/C/Firefox/dom/origin-trials/tests/mochitest/test_subdomain.html


<!doctype html>
<script src="/tests/SimpleTest/SimpleTest.js"></script>
<iframe></iframe>
<script>
  async function testFrame(file, expectEnabled) {
    let reply = new Promise(resolve => {
      window.addEventListener("message", function(e) {
        resolve(e.data);
      }, { once: true });
    });

    let iframe = document.querySelector("iframe");
    let load = new Promise(resolve => {
      iframe.addEventListener("load", resolve, { once: true });
    });

    iframe.src = "https://www.example.com/" + location.pathname.replace("test_subdomain.html", file);
    info("loading " + iframe.src);
    await load;
    let data = await reply;
    is(data.testTrialInterfaceExposed, expectEnabled);
  }

  add_task(async function test_subdomain() {
    await testFrame("file_subdomain_good_frame.html", true);
    await testFrame("file_subdomain_bad_frame.html", false);
  });
</script>

Messung V0.5
C=96 H=100 G=97

¤ Dauer der Verarbeitung: 0.3 Sekunden  ¤

*© 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 und die Messung sind noch experimentell.