From cf29db91af1ef617f6f5b875317b6c34fc9baa84 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Tue, 23 Aug 2011 19:10:13 -0400 Subject: [PATCH] Remove partial URL encoding from quick search completions. Ref 440caa218bda. --- common/content/bookmarks.js | 1 + common/modules/template.jsm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/common/content/bookmarks.js b/common/content/bookmarks.js index 93584786..f6832d5a 100644 --- a/common/content/bookmarks.js +++ b/common/content/bookmarks.js @@ -627,6 +627,7 @@ var Bookmarks = Module("bookmarks", { context.fork("keyword/" + keyword, keyword.length + space.length, null, function (context) { context.format = history.format; context.title = [/*L*/keyword + " Quick Search"]; + context.keys = { text: "url", description: "title", icon: "icon" }; // context.background = true; context.compare = CompletionContext.Sort.unsorted; context.generate = function () { diff --git a/common/modules/template.jsm b/common/modules/template.jsm index 2dedd5eb..31f22c7d 100644 --- a/common/modules/template.jsm +++ b/common/modules/template.jsm @@ -258,7 +258,7 @@ var Template = Module("Template", { // Fixes some strange stack rewinds on NS_ERROR_OUT_OF_MEMORY // exceptions that we can't catch. - stringify: function (arg) { + stringify: function stringify(arg) { if (!callable(arg)) return String(arg);