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 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 4 | |
michael@0 | 5 | |
michael@0 | 6 | .console-box { |
michael@0 | 7 | -moz-binding: url("chrome://global/content/consoleBindings.xml#console-box"); |
michael@0 | 8 | overflow: auto; |
michael@0 | 9 | } |
michael@0 | 10 | |
michael@0 | 11 | .console-rows { |
michael@0 | 12 | -moz-user-focus: normal; |
michael@0 | 13 | } |
michael@0 | 14 | |
michael@0 | 15 | .console-row[type="error"], |
michael@0 | 16 | .console-row[type="warning"] { |
michael@0 | 17 | -moz-binding: url("chrome://global/content/consoleBindings.xml#error"); |
michael@0 | 18 | } |
michael@0 | 19 | |
michael@0 | 20 | .console-row[type="message"] { |
michael@0 | 21 | -moz-binding: url("chrome://global/content/consoleBindings.xml#message"); |
michael@0 | 22 | } |
michael@0 | 23 | |
michael@0 | 24 | .console-msg-text, |
michael@0 | 25 | .console-error-msg { |
michael@0 | 26 | white-space: pre-wrap; |
michael@0 | 27 | } |
michael@0 | 28 | |
michael@0 | 29 | .console-error-source { |
michael@0 | 30 | -moz-binding: url("chrome://global/content/consoleBindings.xml#console-error-source"); |
michael@0 | 31 | } |
michael@0 | 32 | |
michael@0 | 33 | .console-dots { |
michael@0 | 34 | width: 1px; |
michael@0 | 35 | } |
michael@0 | 36 | |
michael@0 | 37 | /* :::::::::: hiding and showing of rows for each mode :::::::::: */ |
michael@0 | 38 | |
michael@0 | 39 | .console-box[mode="Warnings"] > .console-box-internal > .console-rows |
michael@0 | 40 | > .console-row[type="error"], |
michael@0 | 41 | .console-box[mode="Messages"] > .console-box-internal > .console-rows |
michael@0 | 42 | > .console-row[type="error"] |
michael@0 | 43 | { |
michael@0 | 44 | display: none; |
michael@0 | 45 | } |
michael@0 | 46 | |
michael@0 | 47 | .console-box[mode="Errors"] > .console-box-internal > .console-rows |
michael@0 | 48 | > .console-row[type="warning"], |
michael@0 | 49 | .console-box[mode="Messages"] > .console-box-internal > .console-rows |
michael@0 | 50 | > .console-row[type="warning"] |
michael@0 | 51 | { |
michael@0 | 52 | display: none; |
michael@0 | 53 | } |
michael@0 | 54 | |
michael@0 | 55 | .console-box[mode="Errors"] > .console-box-internal > .console-rows |
michael@0 | 56 | > .console-row[type="message"], |
michael@0 | 57 | .console-box[mode="Warnings"] > .console-box-internal > .console-rows |
michael@0 | 58 | > .console-row[type="message"] |
michael@0 | 59 | { |
michael@0 | 60 | display: none; |
michael@0 | 61 | } |
michael@0 | 62 | |
michael@0 | 63 | .filtered-by-string { |
michael@0 | 64 | display: none; |
michael@0 | 65 | } |
michael@0 | 66 | |
michael@0 | 67 | /* If line number is 0, hide the line number section */ |
michael@0 | 68 | .lineNumberRow[line="0"] { |
michael@0 | 69 | display: none; |
michael@0 | 70 | } |
michael@0 | 71 | |
michael@0 | 72 | #TextboxEval { |
michael@0 | 73 | direction: ltr; |
michael@0 | 74 | } |