mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 23:57:59 +01:00
Fix failing tests.
This commit is contained in:
@@ -250,7 +250,7 @@ var History = Module("history", {
|
|||||||
context.generate = function () [
|
context.generate = function () [
|
||||||
Array.slice(row.rev_host).reverse().join("").slice(1)
|
Array.slice(row.rev_host).reverse().join("").slice(1)
|
||||||
for (row in iter(services.history.DBConnection
|
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);
|
].slice(2);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -434,7 +434,7 @@ var Sanitizer = Module("sanitizer", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakRef
|
|||||||
bang: true,
|
bang: true,
|
||||||
completer: function (context) {
|
completer: function (context) {
|
||||||
context.title = ["Privacy Item", "Description"];
|
context.title = ["Privacy Item", "Description"];
|
||||||
context.completions = modules.options.get("sanitizeitems").completer();
|
context.completions = modules.options.get("sanitizeitems").values;
|
||||||
},
|
},
|
||||||
domains: function (args) args["-host"] || [],
|
domains: function (args) args["-host"] || [],
|
||||||
options: [
|
options: [
|
||||||
|
|||||||
Reference in New Issue
Block a user