security/manager/ssl/tests/mochitest/mixedcontent/test_bug329869.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>dymanic script load</title>
     5   <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
     6   <script type="text/javascript" src="mixedContentTest.js"></script>
     7   <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
     9   <script class="testbody" type="text/javascript">
    11   hasMixedActiveContent = true;
    13   function runTest()
    14   {
    15     isSecurityState("secure");
    16     window.setTimeout(function() 
    17     {
    18       var newElement = document.createElement("script");
    19       newElement.src= "http://example.org/tests/security/manager/ssl/tests/mochitest/mixedcontent/bug329869.js";
    20       document.body.appendChild(newElement);
    21     }, 0);
    22   }
    24   function afterNavigationTest()
    25   {
    26     isSecurityState("broken", "security still broken after navigation");
    27     finish();
    28   }
    30   </script>
    31 </head>
    33 <body>
    34 </body>
    35 </html>

mercurial