diff options
author | Matt A. Tobin <email@mattatobin.com> | 2018-09-23 05:14:23 -0400 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2018-09-23 05:14:23 -0400 |
commit | 454110c781d8b1db62d3f57072ff79078b1a3266 (patch) | |
tree | 928a6c71e92bf98abde792f963bea56f8d09ef29 /xpcom/components/ManifestParser.cpp | |
parent | 29512806a7b1b7da6c479f34487ac06446f388da (diff) | |
download | UXP-454110c781d8b1db62d3f57072ff79078b1a3266.tar UXP-454110c781d8b1db62d3f57072ff79078b1a3266.tar.gz UXP-454110c781d8b1db62d3f57072ff79078b1a3266.tar.lz UXP-454110c781d8b1db62d3f57072ff79078b1a3266.tar.xz UXP-454110c781d8b1db62d3f57072ff79078b1a3266.zip |
Remove code that prevents binary extensions
Diffstat (limited to 'xpcom/components/ManifestParser.cpp')
-rw-r--r-- | xpcom/components/ManifestParser.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
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.", |