1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-03 15:44:12 +01:00

Fix sanitizer initialization. Add tests.

This commit is contained in:
Kris Maglione
2011-02-06 20:00:57 -05:00
parent 00dccddc87
commit 707af9e1fa
4 changed files with 30 additions and 11 deletions

View File

@@ -483,7 +483,24 @@ var tests = {
sanitize: {
// Skip details for now.
completions: [
"",
["", function (context) ["all",
"cache",
"downloads",
"formdata",
"offlineapps",
"passwords",
"sessions",
"cookies",
"history",
"host",
"sitesettings",
"commandline",
"messages",
"macros",
"marks",
"options"
].every(function (item) context.allItems.items.some(function ({ text }) item == text))
],
"-",
"-host=",
"-timespan="