From 454110c781d8b1db62d3f57072ff79078b1a3266 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Sun, 23 Sep 2018 05:14:23 -0400 Subject: Remove code that prevents binary extensions --- old-configure.in | 5 ----- xpcom/components/ManifestParser.cpp | 8 -------- 2 files changed, 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.", -- cgit v1.2.3