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 <html xmlns="http://www.w3.org/1999/xhtml">
2 <head>
4 <bindings xmlns="http://www.mozilla.org/xbl">
5 <binding id="g">
6 <implementation>
7 <constructor>
8 throw 3;
9 </constructor>
10 </implementation>
11 </binding>
12 </bindings>
14 <script type="text/javascript">
16 function e()
17 {
18 var listboxbody = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "listboxbody");
19 document.getElementById("s").appendChild(listboxbody);
20 }
22 </script>
23 </head>
25 <body onerror="e();"><span id="s" style="-moz-binding: url(#g)"></span></body>
27 </html>