From d1595d1944cbc604693cc5df8d9428c05d1b3724 Mon Sep 17 00:00:00 2001 From: "edward.lee%engineering.uiuc.edu" Date: Fri, 18 Apr 2008 00:44:12 +0000 Subject: [PATCH] Unconfuse comment and add prefs for bug 422869 --- .../components/places/tests/autocomplete/head_autocomplete.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/toolkit/components/places/tests/autocomplete/head_autocomplete.js b/toolkit/components/places/tests/autocomplete/head_autocomplete.js index f26856cd0d3..6af0c33b458 100644 --- a/toolkit/components/places/tests/autocomplete/head_autocomplete.js +++ b/toolkit/components/places/tests/autocomplete/head_autocomplete.js @@ -95,7 +95,7 @@ function ensure_results(aSearch, aExpected) let value = controller.getValueAt(i); let comment = controller.getCommentAt(i); - print("Looking for an expected result of " + value + ", " + comment + "..."); + print("Looking for " + value + ", " + comment + " in expected results..."); let j; for (j = 0; j < aExpected.length; j++) { // Skip processed expected results @@ -153,6 +153,8 @@ try { getService(Ci.nsITaggingService); var iosvc = Cc["@mozilla.org/network/io-service;1"]. getService(Ci.nsIIOService); + var prefs = Cc["@mozilla.org/preferences-service;1"]. + getService(Ci.nsIPrefBranch); } catch(ex) { do_throw("Could not get services\n"); }