summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-09-23 05:14:23 -0400
committerMatt A. Tobin <email@mattatobin.com>2018-09-23 05:14:23 -0400
commit454110c781d8b1db62d3f57072ff79078b1a3266 (patch)
tree928a6c71e92bf98abde792f963bea56f8d09ef29
parent29512806a7b1b7da6c479f34487ac06446f388da (diff)
downloaduxp-454110c781d8b1db62d3f57072ff79078b1a3266.tar.gz
Remove code that prevents binary extensions
-rw-r--r--old-configure.in5
-rw-r--r--xpcom/components/ManifestParser.cpp8
2 files changed, 0 insertions, 13 deletions
diff --git a/old-configure.in b/old-configure.in
index 96bb934e12..80597eb739 100644
--- a/old-configure.in
+++ b/old-configure.in
@@ -2240,7 +2240,6 @@ MOZ_INSTALL_TRACKING=
ACCESSIBILITY=1
MOZ_TIME_MANAGER=
MOZ_AUDIO_CHANNEL_MANAGER=
-MOZ_BINARY_EXTENSIONS=
MOZ_JETPACK=1
MOZ_DEVTOOLS_SERVER=1
MOZ_DEVTOOLS=
@@ -5139,10 +5138,6 @@ AC_SUBST(MOZ_FIX_LINK_PATHS)
AC_SUBST(MOZ_POST_PROGRAM_COMMAND)
AC_SUBST(MOZ_LINKER_EXTRACT)
-if test -n "$MOZ_BINARY_EXTENSIONS"; then
- AC_DEFINE(MOZ_BINARY_EXTENSIONS)
-fi
-
AC_SUBST(MOZ_ADDON_SIGNING)
if test "$MOZ_ADDON_SIGNING" = 1; then
AC_DEFINE(MOZ_ADDON_SIGNING)
diff --git a/xpcom/components/ManifestParser.cpp b/xpcom/components/ManifestParser.cpp
index 4dcfc8402c..7188c0ec5d 100644
--- a/xpcom/components/ManifestParser.cpp
+++ b/xpcom/components/ManifestParser.cpp
@@ -637,14 +637,6 @@ ParseManifest(NSLocationType aType, FileLocation& aFile, char* aBuf,
continue;
}
-#ifndef MOZ_BINARY_EXTENSIONS
- if (directive->apponly && NS_APP_LOCATION != aType) {
- LogMessageWithContext(aFile, line,
- "Only application manifests may use the '%s' directive.", token);
- continue;
- }
-#endif
-
if (directive->componentonly && NS_SKIN_LOCATION == aType) {
LogMessageWithContext(aFile, line,
"Skin manifest not allowed to use '%s' directive.",