diff options
author | Pale Moon <git-repo@palemoon.org> | 2015-12-05 00:14:18 +0100 |
---|---|---|
committer | Pale Moon <git-repo@palemoon.org> | 2015-12-05 00:14:18 +0100 |
commit | 5c35fa30a32d3774f23241398b9d574b26696301 (patch) | |
tree | ef7dacf0809383dcb41558cc3d24afd03f79c859 /dom/locales | |
parent | b96488055ad3f2560a56601f7cbce241c435a07f (diff) | |
download | palemoon-gre-5c35fa30a32d3774f23241398b9d574b26696301.tar.gz |
XSS filter: address some nits in locale strings and code comments.
Diffstat (limited to 'dom/locales')
-rw-r--r-- | dom/locales/en-US/chrome/appstrings.properties | 2 | ||||
-rw-r--r-- | dom/locales/en-US/chrome/netError.dtd | 10 |
2 files changed, 10 insertions, 2 deletions
diff --git a/dom/locales/en-US/chrome/appstrings.properties b/dom/locales/en-US/chrome/appstrings.properties index ac22dec46..cb54c4573 100644 --- a/dom/locales/en-US/chrome/appstrings.properties +++ b/dom/locales/en-US/chrome/appstrings.properties @@ -31,6 +31,6 @@ externalProtocolLaunchBtn=Launch application malwareBlocked=The site at %S has been reported as an attack site and has been blocked based on your security preferences. phishingBlocked=The website at %S has been reported as a web forgery designed to trick users into sharing personal or financial information. cspFrameAncestorBlocked=This page has a content security policy that prevents it from being embedded in this way. -xssBlockMode=This page contains an XSS attacks that has been blocked for your security. +xssBlockMode=This page contains an XSS attack that has been blocked for your security. corruptedContentError=The page you are trying to view cannot be shown because an error in the data transmission was detected. remoteXUL=This page uses an unsupported technology that is no longer available by default. diff --git a/dom/locales/en-US/chrome/netError.dtd b/dom/locales/en-US/chrome/netError.dtd index 5d0664ebf..d0f85fdcf 100644 --- a/dom/locales/en-US/chrome/netError.dtd +++ b/dom/locales/en-US/chrome/netError.dtd @@ -91,7 +91,15 @@ <!ENTITY cspFrameAncestorBlocked.longDesc "<p>The browser prevented this page from loading in this way because the page has a content security policy that disallows it.</p>"> <!ENTITY xssBlockMode.title "Blocked by XSS Filter"> -<!ENTITY xssBlockMode.longDesc "<p>The browser blocked further actions on this page because the page contains injected JavaScript code.</p>"> +<!ENTITY xssBlockMode.longDesc " +<ul> + <li>&brandShortName; blocked further actions on this page, because it contains + injected JavaScript code.</li> + <li>Loading of this page has been suspended because of either the explicit request + by the website to block this page in case of XSS attacks, or because &brandShortName; + has been configured to block pages in that situation.</li> +</ul> +"> <!ENTITY corruptedContentError.title "Corrupted Content Error"> <!ENTITY corruptedContentError.longDesc "<p>The page you are trying to view cannot be shown because an error in the data transmission was detected.</p><ul><li>Please contact the website owners to inform them of this problem.</li></ul>"> |