Bug 1359278 - Typo in UnifiedComplete causes browser.urlbar.restrict.searches not to be used. r?mak draft
authorDrew Willcoxon <adw@mozilla.com>
Mon, 24 Apr 2017 17:45:56 -0700
changeset 567443 b73e74abff7466dd4af9b7a9b8976bb0cb6cd274
parent 562868 1a1069b27f40edbfbcf1aa81a5e7dfb39845a5fe
child 625644 2126801aeb5d6a9493212057a8f0e484aa8b89da
push id55568
push userdwillcoxon@mozilla.com
push dateTue, 25 Apr 2017 00:46:06 +0000
reviewersmak
bugs1359278
milestone55.0a1
Bug 1359278 - Typo in UnifiedComplete causes browser.urlbar.restrict.searches not to be used. r?mak MozReview-Commit-ID: GVf8gAWNN3M
toolkit/components/places/UnifiedComplete.js
--- a/toolkit/components/places/UnifiedComplete.js
+++ b/toolkit/components/places/UnifiedComplete.js
@@ -32,17 +32,17 @@ const PREF_DELAY =                  [ "d
 const PREF_BEHAVIOR =               [ "matchBehavior", MATCH_BOUNDARY_ANYWHERE ];
 const PREF_FILTER_JS =              [ "filter.javascript",      true ];
 const PREF_MAXRESULTS =             [ "maxRichResults",         25 ];
 const PREF_RESTRICT_HISTORY =       [ "restrict.history",       "^" ];
 const PREF_RESTRICT_BOOKMARKS =     [ "restrict.bookmark",      "*" ];
 const PREF_RESTRICT_TYPED =         [ "restrict.typed",         "~" ];
 const PREF_RESTRICT_TAG =           [ "restrict.tag",           "+" ];
 const PREF_RESTRICT_SWITCHTAB =     [ "restrict.openpage",      "%" ];
-const PREF_RESTRICT_SEARCHES =      [ "restrict.searces",       "$" ];
+const PREF_RESTRICT_SEARCHES =      [ "restrict.searches",      "$" ];
 const PREF_MATCH_TITLE =            [ "match.title",            "#" ];
 const PREF_MATCH_URL =              [ "match.url",              "@" ];
 
 const PREF_SUGGEST_HISTORY =        [ "suggest.history",        true ];
 const PREF_SUGGEST_BOOKMARK =       [ "suggest.bookmark",       true ];
 const PREF_SUGGEST_OPENPAGE =       [ "suggest.openpage",       true ];
 const PREF_SUGGEST_HISTORY_ONLYTYPED = [ "suggest.history.onlyTyped", false ];
 const PREF_SUGGEST_SEARCHES =       [ "suggest.searches",       false ];