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-stylesheet href="chrome://browser/skin/" type="text/css"?>
2 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
3 <box style="-moz-binding:url(#xbl)"/>
6 <bindings xmlns="http://www.mozilla.org/xbl">
7 <binding id="xbl" inheritstyle="false">
8 <content>
9 <g xmlns="http://www.w3.org/2000/svg" onDOMAttrModified="document.removeChild(document.documentElement)" id="a"/>
10 <box xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" observes="a"/>
12 <children xmlns="http://www.mozilla.org/xbl"/>
14 </content>
15 </binding>
16 </bindings>
18 </window>