content/base/crashtests/348049-1.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 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:html="http://www.w3.org/1999/xhtml" class="reftest-wait">
     2 <head>
     4 <bindings xmlns="http://www.mozilla.org/xbl">
     6 <binding id="td">
     7   <content>
     8     <html:td><children/></html:td>
     9   </content>
    10 </binding>
    12 <binding id="foo">
    13   <content>
    14     <html:span/>
    15   </content>
    16 </binding>
    18 </bindings>
    21 <script>
    22 function f1()
    23 {
    24   document.getElementById("inner").style.MozBinding = "url(#foo)";
    25   document.documentElement.removeAttribute("class");
    26 }
    27 </script>
    29 </head>
    32 <body onload="setTimeout(f1, 30);">
    35 <div id="outer" style="-moz-binding: url(#td)"><div id="inner">M</div></div>
    38 </body>
    40 </html>

mercurial