security/manager/ssl/tests/mochitest/mixedcontent/test_cssContent1.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 <!DOCTYPE HTML>
     2 <html>
     3 <head>
     4   <title>CSS conent styling 1</title>
     5   <script type="text/javascript" src="/MochiKit/Base.js"></script>
     6   <script type="text/javascript" src="/MochiKit/DOM.js"></script>
     7   <script type="text/javascript" src="/MochiKit/Style.js"></script>
     8   <script type="text/javascript" src="/MochiKit/Signal.js"></script>
     9   <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
    10   <script type="text/javascript" src="mixedContentTest.js"></script>
    11   <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
    13   <style type="text/css">
    14     p
    15     {
    16       content: url(http://example.com/tests/security/manager/ssl/tests/mochitest/mixedcontent/moonsurface.jpg);
    17     }
    18   </style>
    20   <script class="testbody" type="text/javascript">
    22   function runTest()
    23   {
    24     isSecurityState("broken", "insecure content added by :before styling breaks security");
    25     finish();
    26   }
    28   function afterNavigationTest()
    29   {
    30     isSecurityState("broken", "security still broken after navigation");
    31     finish();
    32   }
    34   </script>
    35 </head>
    37 <body>
    38   <p></p>
    39 </body>
    40 </html>

mercurial