From b07768bc0866102e28b52bc8ede6de461db4bbaa Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Fri, 24 Aug 2018 19:22:54 -0700 Subject: [PATCH] Bug 1484373: Follow-up: Fix stupid typo. r=bustage --- toolkit/components/extensions/WebExtensionPolicy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolkit/components/extensions/WebExtensionPolicy.cpp b/toolkit/components/extensions/WebExtensionPolicy.cpp index 39154afd50b7..f27241b5a5a1 100644 --- a/toolkit/components/extensions/WebExtensionPolicy.cpp +++ b/toolkit/components/extensions/WebExtensionPolicy.cpp @@ -149,7 +149,7 @@ WebExtensionPolicy::WebExtensionPolicy(GlobalObject& aGlobal, } MatchPatternOptions options; - options.mRestrictSchemes = HasPermission(nsGkAtoms::mozillaAddons); + options.mRestrictSchemes = !HasPermission(nsGkAtoms::mozillaAddons); mHostPermissions = ParseMatches(aGlobal, aInit.mAllowedOrigins, options, ErrorBehavior::CreateEmptyPattern, aRv);