Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/dom/security/test/csp/   (Browser von der Mozilla Stiftung 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("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
C=92 H=100 G=95

¤ 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.