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.

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

mercurial