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>
3 <style>
4 #bar {
5 -moz-binding: url("#binding");
6 }
7 </style>
8 <bindings xmlns="http://www.mozilla.org/xbl">
9 <binding id="binding">
10 <implementation>
11 <property name="prop" readonly="true" exposeToUntrustedContent="true"
12 onget="return 2;"/>
13 </implementation>
14 </binding>
15 </bindings>
16 </head>
17 <!-- Use a timeout so that we get bfcached -->
18 <body onload="setTimeout(window.opener.runTest, 100)">
19 <div id="bar"></div>
20 </body>
21 </html>