Browse files

Bug 751378 - Remove unused CAPS strings from stringbundle. r=bz

  • Loading branch information...
1 parent 27fca35 commit d28ee4c4908565f45b0b808e6594c0b336d51dbc Cykesiopka committed Mar 12, 2013
Showing with 2 additions and 12 deletions.
  1. +2 −2 addon-sdk/source/test/test-app-strings.js
  2. +0 −10 dom/locales/en-US/chrome/security/
@@ -21,12 +21,12 @@ exports.testStringBundle = function(test) {
createBundle(url, appLocale);
- let (name = "Yes") {
+ let (name = "CheckMessage") {
test.assertEqual(strings.get(name), stringBundle.GetStringFromName(name),
"getting a string returns the string");
- let (name = "ExtensionCapability", args = ["foo"]) {
+ let (name = "CreateWrapperDenied", args = ["foo"]) {
test.assertEqual(strings.get(name, args),
stringBundle.formatStringFromName(name, args, args.length),
"getting a formatted string returns the formatted string");
@@ -1,12 +1,7 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at
-Yes = Allow
-No = Deny
-Titleline = Internet Security
CheckMessage = Remember this decision
-EnableCapabilityQuery = A script from "%S" is requesting enhanced abilities that are UNSAFE and could be used to compromise your machine or data:\n\n%S\n\nAllow these abilities only if you trust this source to be free of viruses or malicious programs.
-EnableCapabilityDenied = A script from "%S" was denied %S privileges.
CheckLoadURIError = Security Error: Content at %S may not load or link to %S.
CheckSameOriginError = Security Error: Content at %S may not load data from %S.
@@ -114,9 +109,4 @@ SetPropertyDeniedOriginsOnlySubject = Permission denied for <%S> to set property
CallMethodDeniedOriginsOnlySubject = Permission denied for <%S> to call method %S.%S
CreateWrapperDenied = Permission denied to create wrapper for object of class %S
CreateWrapperDeniedForOrigin = Permission denied for <%2$S> to create wrapper for object of class %1$S
-ExtensionCapability = Unknown: %S
ProtocolFlagError = Warning: Protocol handler for '%S' doesn't advertise a security policy. While loading of such protocols is allowed for now, this is deprecated. Please see the documentation in nsIProtocolHandler.idl.
-# The following descriptions are shown in the EnableCapabilityQuery dialog
-capdesc.UniversalXPConnect = Run or install software on your machine

0 comments on commit d28ee4c

Please sign in to comment.