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

Quelle  test_nosniff_navigation.html

  Sprache: HTML
 

 products/Sources/formale Sprachen/C/Firefox/dom/security/test/general/test_nosniff_navigation.html


<!DOCTYPE HTML>
<html>

<head>
  <title>Bug 1428473 Support X-Content-Type-Options: nosniff when navigating</title>
  <!-- Including SimpleTest.js so we can use waitForExplicitFinish !-->
  <script src="/tests/SimpleTest/SimpleTest.js"></script>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
</head>

<body>

  <!-- add the two script tests -->
  <script id="scriptCorrectType"></script>
  <script id="scriptWrongType"></script>

  <script class="testbody" type="text/javascript">
    /* Description of the test:
     * We're testing if Firefox respects the nosniff Header for Top-Level 
     * Navigations.
     * If Firefox cant Display the Page, it will prompt a download 
     * and the URL of the Page will be about:blank.
     * So we will try to open different content send with
     * no-mime, mismatched-mime and garbage-mime types.
     * 
     */

    SimpleTest.waitForExplicitFinish();

    window.addEventListener("load", async () => {
      window.open("window_nosniff_navigation.html");
    });
  </script>
</body>
</html>

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

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