1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/content/base/test/csp/file_CSP_bug916446.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,16 @@ 1.4 +<!doctype html> 1.5 +<html> 1.6 + <body> 1.7 + <ol> 1.8 + <li id="inline-script">Inline script (green if allowed, black if blocked)</li> 1.9 + </ol> 1.10 + 1.11 + <script> 1.12 + // Use inline script to set a style attribute 1.13 + document.getElementById("inline-script").style.color = "rgb(0, 128, 0)"; 1.14 + </script> 1.15 + 1.16 + <img src="file_CSP.sjs?testid=img_bad&type=img/png"></img> 1.17 + 1.18 + </body> 1.19 +</html>