Thu, 15 Jan 2015 21:03:48 +0100
Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)
1 <!doctype html>
2 <html>
3 <head>
4 <link rel='stylesheet' type='text/css'
5 href='file_CSP.sjs?testid=starExternalStylesLoaded&type=text/css' />
6 </head>
7 <body>
8 <p id="inline-style">This should be green</p>
9 <p id="inline-script">This should be black</p>
10 <style>
11 p#inline-style { color:rgb(0, 128, 0); }
12 </style>
13 <script>
14 // Use inline script to set a style attribute
15 document.getElementById("inline-script").style.color = "rgb(0, 128, 0)";
16 </script>
17 <img src="file_CSP.sjs?testid=starExternalImgLoaded&type=img/png" />
18 </body>
19 </html>