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"); }