Sat, 03 Jan 2015 20:18:00 +0100
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 <overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
3 <box id="b">
4 <box onDOMAttrModified="event.target.parentNode.removeChild(event.target)" id="d"/>
5 <tree/>
6 </box>
8 <tree>
9 <box id="b" observes="d"/>
10 <treechildren observes="b"/>
11 </tree>
12 </overlay>