mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-06 21:14:11 +01:00
Use argCount: "0" for :restart.
--HG-- extra : rebase_source : 7ae0cb785c72e9c379f12e516621a5a2ade39aa2
This commit is contained in:
@@ -1914,7 +1914,8 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
||||
|
||||
commands.add(["res[tart]"],
|
||||
"Force " + config.appName + " to restart",
|
||||
function () { dactyl.restart(); });
|
||||
function () { dactyl.restart(); },
|
||||
{ argCount: "0" });
|
||||
|
||||
function findToolbar(name) util.evaluateXPath(
|
||||
"//*[@toolbarname=" + util.escapeString(name, "'") + "]",
|
||||
|
||||
@@ -486,7 +486,9 @@ var tests = {
|
||||
reloadall: {
|
||||
noOutput: [""]
|
||||
},
|
||||
restart: {}, // Skip
|
||||
restart: {
|
||||
error: ["foo"]
|
||||
},
|
||||
runtime: {
|
||||
init: [
|
||||
"js File('~/.pentadactyl/some-nonexistent/good.css').write('')",
|
||||
|
||||
Reference in New Issue
Block a user