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 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 richlistitem[type="download"] {
6 -moz-binding: url('chrome://mozapps/content/downloads/download.xml#download-starting');
7 -moz-box-orient: vertical;
8 }
10 richlistitem[type="download"][state="0"] {
11 -moz-binding: url('chrome://mozapps/content/downloads/download.xml#download-downloading');
12 }
14 richlistitem[type="download"][state="1"] {
15 -moz-binding: url('chrome://mozapps/content/downloads/download.xml#download-done');
16 }
18 richlistitem[type="download"][state="2"] {
19 -moz-binding: url('chrome://mozapps/content/downloads/download.xml#download-failed');
20 }
22 richlistitem[type="download"][state="3"] {
23 -moz-binding: url('chrome://mozapps/content/downloads/download.xml#download-canceled');
24 }
26 richlistitem[type="download"][state="4"] {
27 -moz-binding: url('chrome://mozapps/content/downloads/download.xml#download-paused');
28 }
30 richlistitem[type="download"][state="6"] {
31 -moz-binding: url('chrome://mozapps/content/downloads/download.xml#download-blocked-parental');
32 }
34 richlistitem[type="download"][state="7"] {
35 -moz-binding: url('chrome://mozapps/content/downloads/download.xml#download-scanning');
36 }
38 richlistitem[type="download"][state="8"] {
39 -moz-binding: url('chrome://mozapps/content/downloads/download.xml#download-dirty');
40 }
42 richlistitem[type="download"][state="9"] {
43 -moz-binding: url('chrome://mozapps/content/downloads/download.xml#download-blocked-policy');
44 }
46 /* Only focus buttons in the selected item*/
47 richlistitem[type="download"]:not([selected="true"]) button {
48 -moz-user-focus: none;
49 }