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"?> <!-- -*- Mode: SGML; indent-tabs-mode: nil -*- --> |
michael@0 | 2 | |
michael@0 | 3 | <!-- This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 4 | - License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 5 | - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
michael@0 | 6 | |
michael@0 | 7 | <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> |
michael@0 | 8 | |
michael@0 | 9 | <!DOCTYPE dialog SYSTEM "chrome://passwordmgr/locale/passwordManager.dtd" > |
michael@0 | 10 | |
michael@0 | 11 | <prefwindow id="SignonViewerExceptionDialog" |
michael@0 | 12 | windowtype="Toolkit:PasswordManagerExceptions" |
michael@0 | 13 | xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
michael@0 | 14 | buttons="accept" |
michael@0 | 15 | buttonlabelaccept="&closebutton.label;" |
michael@0 | 16 | onload="Startup(); RejectsStartup();" |
michael@0 | 17 | onunload="Shutdown();" |
michael@0 | 18 | title="&savedPasswordsExceptions.title;" |
michael@0 | 19 | persist="width height screenX screenY"> |
michael@0 | 20 | |
michael@0 | 21 | <prefpane id="SignonViewerDialogPane" flex="1"> |
michael@0 | 22 | <script type="application/javascript" src="chrome://passwordmgr/content/passwordManagerCommon.js"/> |
michael@0 | 23 | <script type="application/javascript" src="chrome://passwordmgr/content/passwordManagerExceptions.js"/> |
michael@0 | 24 | |
michael@0 | 25 | <vbox id="rejectedsites" flex="1"> |
michael@0 | 26 | <description control="rejectsTree">&loginsSpielExceptions.label;</description> |
michael@0 | 27 | <separator class="thin"/> |
michael@0 | 28 | <tree id="rejectsTree" flex="1" style="height: 10em;" hidecolumnpicker="true" |
michael@0 | 29 | onkeypress="HandleRejectKeyPress(event)" |
michael@0 | 30 | onselect="RejectSelected();"> |
michael@0 | 31 | <treecols> |
michael@0 | 32 | <treecol id="rejectCol" label="&treehead.site.label;" flex="5" |
michael@0 | 33 | onclick="RejectColumnSort('host');" sortDirection="ascending"/> |
michael@0 | 34 | </treecols> |
michael@0 | 35 | <treechildren/> |
michael@0 | 36 | </tree> |
michael@0 | 37 | <separator class="thin"/> |
michael@0 | 38 | <hbox> |
michael@0 | 39 | <button id="removeReject" disabled="true" icon="remove" |
michael@0 | 40 | accesskey="&remove.accesskey;" |
michael@0 | 41 | label="&remove.label;" oncommand="DeleteReject();"/> |
michael@0 | 42 | <button id="removeAllRejects" |
michael@0 | 43 | accesskey="&removeall.accesskey;" |
michael@0 | 44 | icon="clear" label="&removeall.label;" |
michael@0 | 45 | oncommand="DeleteAllRejects();"/> |
michael@0 | 46 | </hbox> |
michael@0 | 47 | </vbox> |
michael@0 | 48 | </prefpane> |
michael@0 | 49 | </prefwindow> |