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 --- xpcom/components/ManifestParser.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'xpcom') diff --git a/xpcom/components/ManifestParser.cpp b/xpcom/components/ManifestParser.cpp index 4dcfc8402..7188c0ec5 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