summaryrefslogtreecommitdiff
path: root/common/tests/functional
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2011-02-06 20:00:57 -0500
committerKris Maglione <maglione.k@gmail.com>2011-02-06 20:00:57 -0500
commit707af9e1fab7ac2b1db5c30c95ea00874d47f94b (patch)
tree71c84d81032923bb81a22fbf1427ffee8f5fb830 /common/tests/functional
parent00dccddc876f1722042c835a07aeffe8b36b17b5 (diff)
downloadpentadactyl-707af9e1fab7ac2b1db5c30c95ea00874d47f94b.tar.gz
Fix sanitizer initialization. Add tests.
Diffstat (limited to 'common/tests/functional')
-rw-r--r--common/tests/functional/testCommands.js19
1 files changed, 18 insertions, 1 deletions
diff --git a/common/tests/functional/testCommands.js b/common/tests/functional/testCommands.js
index 62eefa5c..60fc7b8f 100644
--- a/common/tests/functional/testCommands.js
+++ b/common/tests/functional/testCommands.js
@@ -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="