1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 19:37:57 +01:00

Fix failing tests.

This commit is contained in:
Kris Maglione
2011-02-05 03:37:54 -05:00
parent 1af39e6424
commit 96bce6efdf
2 changed files with 2 additions and 2 deletions

View File

@@ -250,7 +250,7 @@ var History = Module("history", {
context.generate = function () [
Array.slice(row.rev_host).reverse().join("").slice(1)
for (row in iter(services.history.DBConnection
.createStatement("SELECT DISTINCT rev_host FROM moz_places;")))
.createStatement("SELECT DISTINCT rev_host FROM moz_places WHERE rev_host IS NOT NULL;")))
].slice(2);
};

View File

@@ -434,7 +434,7 @@ var Sanitizer = Module("sanitizer", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakRef
bang: true,
completer: function (context) {
context.title = ["Privacy Item", "Description"];
context.completions = modules.options.get("sanitizeitems").completer();
context.completions = modules.options.get("sanitizeitems").values;
},
domains: function (args) args["-host"] || [],
options: [