content/base/test/test_bug373181.xhtml

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <html xmlns="http://www.w3.org/1999/xhtml">
     3   <head>
     4     <title>Testcase for bug 373181</title>
     5     <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"/>
     6     <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
     7     <script type="application/x-javascript">
     8       function onLoadFired()
     9       {
    10         ok(true, "Body onload event should fire");
    11         SimpleTest.finish();
    12       }
    13       SimpleTest.waitForExplicitFinish();
    14     </script>
    15   </head>
    16   <body onload="onLoadFired();"/>
    17 </html>

mercurial