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 <title>Testcase bug - 100% cpu usage with binding setting position: fixed in constructor</title>
5 <bindings xmlns="http://www.mozilla.org/xbl">
6 <binding id="b" inheritstyle="false">
7 <content>
8 <div xmlns="http://www.w3.org/1999/xhtml" style=" -moz-binding: url(#a);"/>
9 <children/>
10 </content>
11 </binding>
13 <binding id="a">
14 <implementation>
15 <constructor>
16 this.style.position='fixed';
17 </constructor>
18 </implementation>
19 <content>
20 <children xmlns="http://www.mozilla.org/xbl"/>
21 </content>
22 </binding>
23 </bindings>
25 </head>
26 <body>
27 <span style="-moz-binding:url();"></span>
28 </body>
29 </html>