content/base/test/csp/file_CSP_bug916446.html
author Garrett Robinson <grobinson@mozilla.com>
Wed, 04 Jun 2014 17:53:58 -0700
changeset 205949 9a9020972cc49338612f54b908d224cf2f04847a
parent 205936 content/base/test/xcsp/file_CSP_bug916446.html@d9a7b9a18ab4759a96e7a726e4a403ebda6ca0f0
child 206179 413ea58159cf6b333798351ba1824122d98eb5cc
permissions -rw-r--r--
Backed out changeset d9a7b9a18ab4 (Bug 988616) on a CLOSED TREE

<!doctype html>
<html>
  <body>
    <ol>
      <li id="inline-script">Inline script (green if allowed, black if blocked)</li>
    </ol>

    <script>
      // Use inline script to set a style attribute
      document.getElementById("inline-script").style.color = "rgb(0, 128, 0)";
    </script>

    <img src="file_CSP.sjs?testid=img_bad&type=img/png"></img>

  </body>
</html>