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.
michael@0 | 1 | <?xml version="1.0"?> |
michael@0 | 2 | <!-- This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 3 | - License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 4 | - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
michael@0 | 5 | |
michael@0 | 6 | |
michael@0 | 7 | <!DOCTYPE bindings SYSTEM "chrome://mozapps/locale/xpinstall/xpinstallConfirm.dtd"> |
michael@0 | 8 | |
michael@0 | 9 | <bindings id="xpinstallItemBindings" |
michael@0 | 10 | xmlns="http://www.mozilla.org/xbl" |
michael@0 | 11 | xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
michael@0 | 12 | xmlns:xbl="http://www.mozilla.org/xbl"> |
michael@0 | 13 | |
michael@0 | 14 | <binding id="installitem"> |
michael@0 | 15 | <resources> |
michael@0 | 16 | <stylesheet src="chrome://mozapps/skin/xpinstall/xpinstallConfirm.css"/> |
michael@0 | 17 | </resources> |
michael@0 | 18 | <content> |
michael@0 | 19 | <xul:hbox flex="1"> |
michael@0 | 20 | <xul:vbox align="center" pack="center" class="xpinstallIconContainer"> |
michael@0 | 21 | <xul:image class="xpinstallItemIcon" xbl:inherits="src=icon"/> |
michael@0 | 22 | </xul:vbox> |
michael@0 | 23 | <xul:vbox flex="1" pack="center"> |
michael@0 | 24 | <xul:hbox class="xpinstallItemNameRow" align="center"> |
michael@0 | 25 | <xul:label class="xpinstallItemName" xbl:inherits="value=name" crop="right"/> |
michael@0 | 26 | <xul:label class="xpinstallItemSigned" xbl:inherits="value=cert,signed"/> |
michael@0 | 27 | </xul:hbox> |
michael@0 | 28 | <xul:hbox class="xpinstallItemDetailsRow" align="center"> |
michael@0 | 29 | <xul:textbox class="xpinstallItemURL" xbl:inherits="value=url" flex="1" readonly="true" crop="right"/> |
michael@0 | 30 | </xul:hbox> |
michael@0 | 31 | </xul:vbox> |
michael@0 | 32 | </xul:hbox> |
michael@0 | 33 | </content> |
michael@0 | 34 | <implementation> |
michael@0 | 35 | <property name="name" onset="this.setAttribute('name', val); return val;" |
michael@0 | 36 | onget="return this.getAttribute('name');"/> |
michael@0 | 37 | <property name="cert" onset="this.setAttribute('cert', val); return val;" |
michael@0 | 38 | onget="return this.getAttribute('cert');"/> |
michael@0 | 39 | <property name="signed" onset="this.setAttribute('signed', val); return val;" |
michael@0 | 40 | onget="return this.getAttribute('signed');"/> |
michael@0 | 41 | <property name="url" onset="this.setAttribute('url', val); return val;" |
michael@0 | 42 | onget="return this.getAttribute('url');"/> |
michael@0 | 43 | <property name="icon" onset="this.setAttribute('icon', val); return val;" |
michael@0 | 44 | onget="return this.getAttribute('icon');"/> |
michael@0 | 45 | <property name="type" onset="this.setAttribute('type', val); return val;" |
michael@0 | 46 | onget="return this.getAttribute('type');"/> |
michael@0 | 47 | </implementation> |
michael@0 | 48 | </binding> |
michael@0 | 49 | |
michael@0 | 50 | </bindings> |
michael@0 | 51 |