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 <!DOCTYPE html>
2 <html>
3 <link rel='stylesheet' type='text/css' href='style.css'>
4 <style>
5 body > progress:nth-child(1)::-moz-progress-bar { width: 20px; }
6 body > progress:nth-child(2)::-moz-progress-bar { width: 0px; }
7 body > progress:nth-child(3)::-moz-progress-bar { width: 50%; }
8 body > progress:nth-child(4)::-moz-progress-bar { width: 1em; }
9 /* last one is for the default value: width=100%. */
10 </style>
11 <body>
12 <!-- Those will be used to change padding/margin on ::-moz-progress-bar -->
13 <progress></progress>
14 <progress></progress>
15 <progress></progress>
16 <progress></progress>
17 <progress></progress>
18 </body>
19 </html>