layout/xul/tree/crashtests/391178-2.xul

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-stylesheet href="chrome://browser/skin/" type="text/css"?>
     2 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:html="http://www.w3.org/1999/xhtml" class="reftest-wait">
     4 <tree id="a" style="position: fixed;">
     5   <box style=" display: -moz-box; position: fixed;">
     6     <treecol style=" display: -moz-box;"/>
     7   </box>
     8   <box style="position: fixed;">
     9     <treechildren style="display: -moz-box; position: absolute;"/>
    10   </box>
    11 </tree>
    13 <script xmlns="http://www.w3.org/1999/xhtml">
    14 function removestyles(){
    15   document.getElementById('a').removeAttribute('style');
    16   document.documentElement.removeAttribute("class");
    17 }
    18 setTimeout(removestyles, 100);
    19 </script>
    20 </window>

mercurial