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 | # CSP Warnings: |
michael@0 | 6 | # LOCALIZATION NOTE (CSPViolation): |
michael@0 | 7 | # %1$S is the reason why the resource has not been loaded. |
michael@0 | 8 | CSPViolation = The page's settings blocked the loading of a resource: %1$S |
michael@0 | 9 | # LOCALIZATION NOTE (CSPViolationWithURI): |
michael@0 | 10 | # %1$S is the directive that has been violated. |
michael@0 | 11 | # %2$S is the URI of the resource which violated the directive. |
michael@0 | 12 | CSPViolationWithURI = The page's settings blocked the loading of a resource at %2$S ("%1$S"). |
michael@0 | 13 | # LOCALIZATION NOTE (triedToSendReport): |
michael@0 | 14 | # %1$S is the URI we attempted to send a report to. |
michael@0 | 15 | triedToSendReport = Tried to send report to invalid URI: "%1$S" |
michael@0 | 16 | # LOCALIZATION NOTE (errorWas): |
michael@0 | 17 | # %1$S is the error resulting from attempting to send the report |
michael@0 | 18 | errorWas = error was: "%1$S" |
michael@0 | 19 | # LOCALIZATION NOTE (couldNotParseReportURI): |
michael@0 | 20 | # %1$S is the report URI that could not be parsed |
michael@0 | 21 | couldNotParseReportURI = couldn't parse report URI: %1$S |
michael@0 | 22 | # LOCALIZATION NOTE (couldNotProcessUnknownDirective): |
michael@0 | 23 | # %1$S is the unknown directive |
michael@0 | 24 | couldNotProcessUnknownDirective = Couldn't process unknown directive '%1$S' |
michael@0 | 25 | # LOCALIZATION NOTE (ignoringUnknownOption): |
michael@0 | 26 | # %1$S is the option that could not be understood |
michael@0 | 27 | ignoringUnknownOption = Ignoring unknown option %1$S |
michael@0 | 28 | # LOCALIZATION NOTE (reportURInotHttpsOrHttp2): |
michael@0 | 29 | # %1$S is the ETLD of the report URI that is not HTTP or HTTPS |
michael@0 | 30 | reportURInotHttpsOrHttp2 = The report URI (%1$S) should be an HTTP or HTTPS URI. |
michael@0 | 31 | # LOCALIZATION NOTE (reportURInotInReportOnlyHeader): |
michael@0 | 32 | # %1$S is the ETLD of the page with the policy |
michael@0 | 33 | reportURInotInReportOnlyHeader = This site (%1$S) has a Report-Only policy without a report URI. CSP will not block and cannot report violations of this policy. |
michael@0 | 34 | # LOCALIZATION NOTE (pageCannotSendReportsTo): |
michael@0 | 35 | # %1$S is the URI of the page with the policy |
michael@0 | 36 | # %2$S is the report URI that could not be used |
michael@0 | 37 | pageCannotSendReportsTo = page on %1$S cannot send reports to %2$S |
michael@0 | 38 | allowOrDefaultSrcRequired = 'allow' or 'default-src' directive required but not present. Reverting to "default-src 'none'" |
michael@0 | 39 | # LOCALIZATION NOTE (failedToParseUnrecognizedSource): |
michael@0 | 40 | # %1$S is the CSP Source that could not be parsed |
michael@0 | 41 | failedToParseUnrecognizedSource = Failed to parse unrecognized source %1$S |
michael@0 | 42 | # LOCALIZATION NOTE (reportPostRedirect): |
michael@0 | 43 | # %1$S is the specified report URI before redirect |
michael@0 | 44 | reportPostRedirect = Post of violation report to %1$S failed, as a redirect occurred |
michael@0 | 45 | # LOCALIZATION NOTE (allowDirectiveIsDeprecated): |
michael@0 | 46 | # Don't translate "allow" and "default-src" as they are keywords and part of |
michael@0 | 47 | # the CSP protocol syntax. |
michael@0 | 48 | allowDirectiveIsDeprecated = allow directive is deprecated, use the equivalent default-src directive instead |
michael@0 | 49 | # LOCALIZATION NOTE (inlineScriptBlocked): |
michael@0 | 50 | # inline script refers to JavaScript code that is embedded into the HTML document. |
michael@0 | 51 | inlineScriptBlocked = An attempt to execute inline scripts has been blocked |
michael@0 | 52 | # LOCALIZATION NOTE (inlineStyleBlocked): |
michael@0 | 53 | # inline style refers to CSS code that is embedded into the HTML document. |
michael@0 | 54 | inlineStyleBlocked = An attempt to apply inline style sheets has been blocked |
michael@0 | 55 | # LOCALIZATION NOTE (scriptFromStringBlocked): |
michael@0 | 56 | # eval is a name and should not be localized. |
michael@0 | 57 | scriptFromStringBlocked = An attempt to call JavaScript from a string (by calling a function like eval) has been blocked |
michael@0 | 58 | # LOCALIZATION NOTE (hostNameMightBeKeyword): |
michael@0 | 59 | # %1$S is the hostname in question and %2$S is the keyword |
michael@0 | 60 | hostNameMightBeKeyword = Interpreting %1$S as a hostname, not a keyword. If you intended this to be a keyword, use '%2$S' (wrapped in single quotes). |
michael@0 | 61 | |
michael@0 | 62 | # CSP Errors: |
michael@0 | 63 | policyURINotAlone = policy-uri directive can only appear alone |
michael@0 | 64 | noParentRequest = The policy-uri cannot be fetched without a parent request and a CSP. |
michael@0 | 65 | # LOCALIZATION NOTE (policyURIParseError): |
michael@0 | 66 | # %1$S is the URI that could not be parsed |
michael@0 | 67 | policyURIParseError = could not parse URI in policy URI: %1$S |
michael@0 | 68 | # LOCALIZATION NOTE (nonMatchingHost): |
michael@0 | 69 | # %1$S is the URI host that does not match |
michael@0 | 70 | nonMatchingHost = can't fetch policy uri from non-matching hostname: %1$S |
michael@0 | 71 | # LOCALIZATION NOTE (nonMatchingPort): |
michael@0 | 72 | # %1$S is the URI port that does not match |
michael@0 | 73 | nonMatchingPort = can't fetch policy uri from non-matching port: %1$S |
michael@0 | 74 | # LOCALIZATION NOTE (nonMatchingScheme): |
michael@0 | 75 | # %1$S is the URI scheme that does not match |
michael@0 | 76 | nonMatchingScheme = can't fetch policy uri from non-matching scheme: %1$S |
michael@0 | 77 | # LOCALIZATION NOTE (errorFetchingPolicy): |
michael@0 | 78 | # %1$S is the error that caused fetching to fail |
michael@0 | 79 | errorFetchingPolicy = Error fetching policy-uri: %1$S |
michael@0 | 80 | cspSourceNotURI = Provided argument is not an nsIURI |
michael@0 | 81 | argumentIsNotString = Provided argument is not a string |
michael@0 | 82 | selfDataNotProvided = Can't use 'self' if self data is not provided |
michael@0 | 83 | # LOCALIZATION NOTE (uriWithoutScheme): |
michael@0 | 84 | # %1$S is the URI without a scheme |
michael@0 | 85 | uriWithoutScheme = can't parse a URI without a scheme: %1$S |
michael@0 | 86 | selfKeywordNoSelfData = self keyword used, but no self data specified |
michael@0 | 87 | # LOCALIZATION NOTE (couldntParseInvalidSource): |
michael@0 | 88 | # %1$S is the source that could not be parsed |
michael@0 | 89 | couldntParseInvalidSource = Couldn't parse invalid source %1$S |
michael@0 | 90 | # LOCALIZATION NOTE (hostSourceWithoutData): |
michael@0 | 91 | # %1$S is the source |
michael@0 | 92 | hostSourceWithoutData = Can't create host-only source %1$S without 'self' data |
michael@0 | 93 | # LOCALIZATION NOTE (sourceWithoutData): |
michael@0 | 94 | # %1$S is the source |
michael@0 | 95 | sourceWithoutData = Can't create source %1$S without 'self' data |
michael@0 | 96 | # LOCALIZATION NOTE (couldntParseInvalidHost): |
michael@0 | 97 | # %1$S is the host that's invalid |
michael@0 | 98 | couldntParseInvalidHost = Couldn't parse invalid host %1$S |
michael@0 | 99 | # LOCALIZATION NOTE (couldntParseScheme): |
michael@0 | 100 | # %1$S is the string source |
michael@0 | 101 | couldntParseScheme = Couldn't parse scheme in %1$S |
michael@0 | 102 | # LOCALIZATION NOTE (couldntParsePort): |
michael@0 | 103 | # %1$S is the string source |
michael@0 | 104 | couldntParsePort = Couldn't parse port in %1$S |
michael@0 | 105 | # LOCALIZATION NOTE (notIntersectPort): |
michael@0 | 106 | # %1$S is one source we tried to intersect |
michael@0 | 107 | # %2$S is the other |
michael@0 | 108 | notIntersectPort = Could not intersect %1$S with %2$S due to port problems. |
michael@0 | 109 | # LOCALIZATION NOTE (notIntersectScheme): |
michael@0 | 110 | # %1$S is one source we tried to intersect |
michael@0 | 111 | # %2$S is the other |
michael@0 | 112 | notIntersectScheme = Could not intersect %1$S with %2$S due to scheme problems. |
michael@0 | 113 | # LOCALIZATION NOTE (intersectingSourceWithUndefinedHost): |
michael@0 | 114 | # %1$S is the source |
michael@0 | 115 | intersectingSourceWithUndefinedHost = intersecting source with undefined host: %1$S |
michael@0 | 116 | # LOCALIZATION NOTE (intersectingSourcesWithUndefinedHosts): |
michael@0 | 117 | # %1$S is the first source |
michael@0 | 118 | # %2$S is the second source |
michael@0 | 119 | intersectingSourcesWithUndefinedHosts = intersecting two sources with undefined hosts: %1$S and %2$S |
michael@0 | 120 | # LOCALIZATION NOTE (duplicateDirective): |
michael@0 | 121 | # %1$S is the name of the duplicate directive |
michael@0 | 122 | duplicateDirective = Duplicate %1$S directives detected. All but the first instance will be ignored. |