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

Quelle  file_docwrite_meta.html

  Sprache: HTML
 

 products/Sources/formale Sprachen/C/Firefox/dom/security/test/csp/file_docwrite_meta.html


<!DOCTYPE HTML>
<html>
<head>
  <title>Bug 663570 - Test doc.write(meta csp)</title>
  <meta charset="utf-8">

  <!-- Use doc.write() to apply meta csp -->
  <script type="application/javascript">
    var metaCSP = "style-src 'none';  script-src 'none'; img-src 'none'";
    document.write("<meta http-equiv=\"Content-Security-Policy\" content=\" " + metaCSP + "\">");
  </script>

  <!-- try to load a css which is forbidden by meta CSP -->
  <link rel="stylesheet" type="text/css" href="file_docwrite_meta.css">

  <!-- try to load a script which is forbidden by meta CSP -->
  <script id="testscript" src="file_docwrite_meta.js"></script>

</head>
<body>

  <!-- try to load an image which is forbidden by meta CSP -->
  <img id="testimage" src="http://mochi.test:8888/tests/image/test/mochitest/blue.png"></img>

</body>
</html>

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

¤ Dauer der Verarbeitung: 0.18 Sekunden  (vorverarbeitet am  2026-06-07) ¤

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