content/xul/templates/src/crashtests/257752-1-recursion.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 version="1.0"?>
     3 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
     5 <window id="child-iterate-recurse"
     6         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
     8 <vbox flex="1" style="overflow: auto;">
    10 <vbox datasources="257752-1-recursion.rdf" ref="urn:x-rec:1">
    11   <template>
    12     <rule>
    13       <conditions>
    14           <content uri="?uri"/>
    15           <member container="?uri" child="?child"/>
    16       </conditions>
    17       <action>
    18         <vbox uri="?child" style="border: 1px solid grey; margin: 1em;">
    19           <label value="hi"/>
    20         </vbox>
    21       </action>
    22     </rule>
    23   </template>
    24 </vbox>
    26 </vbox>
    28 </window>

mercurial