content/base/test/csp/file_bug886164.html

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

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 <html>
     2 <head> <meta charset="utf-8"> </head>
     3   <body>
     4     <!-- sandbox="allow-same-origin" -->
     5     <!-- Content-Security-Policy: default-src 'self' -->
     7     <!-- these should be stopped by CSP -->
     8     <img src="http://example.org/tests/content/base/test/csp/file_CSP.sjs?testid=img_bad&type=img/png"> </img>
    10     <!-- these should load ok -->
    11     <img src="/tests/content/base/test/csp/file_CSP.sjs?testid=img_good&type=img/png" />
    12     <script src='/tests/content/base/test/csp/file_CSP.sjs?testid=scripta_bad&type=text/javascript'></script>
    14   </body>
    15 </html>

mercurial