Skip to content

Commit

Permalink
Backed out changeset ec5a8a6a37d4 (bug 1594874) for causing Linux bui…
Browse files Browse the repository at this point in the history
…ld bustages CLOSED TREE
  • Loading branch information
nerli1 committed Nov 8, 2019
1 parent 9451334 commit 0628624
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ let gWhitelist = [
key: "ImageMapPolyOddNumberOfCoords",
type: "double-quote",
},
{
file: "xbl.properties",
key: "CommandNotInChrome",
type: "double-quote",
},
{
file: "dom.properties",
key: "PatternAttributeCompileFailure",
Expand Down
1 change: 1 addition & 0 deletions dom/base/nsContentUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3550,6 +3550,7 @@ void nsContentUtils::GetEventArgNames(int32_t aNameSpaceID, nsAtom* aEventName,
static const char* gPropertiesFiles[nsContentUtils::PropertiesFile_COUNT] = {
// Must line up with the enum values in |PropertiesFile| enum.
"chrome://global/locale/css.properties",
"chrome://global/locale/xbl.properties",
"chrome://global/locale/xul.properties",
"chrome://global/locale/layout_errors.properties",
"chrome://global/locale/layout/HtmlForm.properties",
Expand Down
14 changes: 14 additions & 0 deletions dom/locales/en-US/chrome/layout/xbl.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# 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 http://mozilla.org/MPL/2.0/.

UnexpectedElement=Unexpected <%1$S> element.
# LOCALIZATION NOTE: do not localize key=“%S” modifiers=“%S” id=“%S”
GTK2Conflict2=Key event not available on GTK2: key=“%S” modifiers=“%S” id=“%S”
WinConflict2=Key event not available on some keyboard layouts: key=“%S” modifiers=“%S” id=“%S”
TooDeepBindingRecursion=The XBL binding “%S” is already used by too many ancestor elements; not applying it to prevent infinite recursion.
CircularExtendsBinding=Extending the XBL binding “%S” with “%S” would lead to it extending itself
# LOCALIZATION NOTE: do not localize <handler command="…">
CommandNotInChrome=Use of <handler command="…"> not allowed outside chrome.
MalformedXBL = An XBL file is malformed. Did you forget the XBL namespace on the bindings tag?
MissingIdAttr = An “id” attribute missing on the binding tag.
1 change: 1 addition & 0 deletions dom/locales/jar.mn
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

@AB_CD@.jar:
locale/@AB_CD@/global/css.properties (%chrome/layout/css.properties)
locale/@AB_CD@/global/xbl.properties (%chrome/layout/xbl.properties)
locale/@AB_CD@/global/xul.properties (%chrome/layout/xul.properties)
locale/@AB_CD@/global/printing.properties (%chrome/layout/printing.properties)
locale/@AB_CD@/global/layout_errors.properties (%chrome/layout/layout_errors.properties)
Expand Down
3 changes: 3 additions & 0 deletions dom/locales/moz.build
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ with Files("en-US/chrome/layout/MediaDocument.properties"):
with Files("en-US/chrome/layout/printing.properties"):
BUG_COMPONENT = ("Core", "Printing: Output")

with Files("en-US/chrome/layout/xbl.properties"):
BUG_COMPONENT = ("Core", "XBL")

with Files("en-US/chrome/layout/xmlparser.properties"):
BUG_COMPONENT = ("Core", "XML")

Expand Down
1 change: 1 addition & 0 deletions intl/strres/nsStringBundle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ static const char kContentBundles[][52] = {
"chrome://global/locale/security/csp.properties",
"chrome://global/locale/security/security.properties",
"chrome://global/locale/svg/svg.properties",
"chrome://global/locale/xbl.properties",
"chrome://global/locale/xul.properties",
"chrome://necko/locale/necko.properties",
};
Expand Down

0 comments on commit 0628624

Please sign in to comment.