[Pkg-mozext-commits] [greasemonkey] 10/21: Remove unused parameter.
David Prévot
taffit at moszumanska.debian.org
Sun Sep 13 21:27:16 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository greasemonkey.
commit 50929fc17b4d30e52233572b0478264fe38666c1
Author: Anthony Lieuallen <arantius at gmail.com>
Date: Wed Jul 15 15:32:12 2015 -0400
Remove unused parameter.
---
modules/menucommand.js | 3 +--
modules/sandbox.js | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/modules/menucommand.js b/modules/menucommand.js
index 0a3675f..50279bc 100644
--- a/modules/menucommand.js
+++ b/modules/menucommand.js
@@ -41,8 +41,7 @@ function MenuCommandRun(aContent, aMessage) {
// This function is injected into the sandbox, in a private scope wrapper, BY
// SOURCE. Data and sensitive references are wrapped up inside its closure.
function MenuCommandSandbox(
- aScriptUuid, aScriptName, aCommandResponder, aFrameScope,
- aInvalidAccesskeyErrorStr) {
+ aScriptUuid, aScriptName, aCommandResponder, aInvalidAccesskeyErrorStr) {
// 1) Internally to this function's private scope, maintain a set of
// registered menu commands.
var commands = {};
diff --git a/modules/sandbox.js b/modules/sandbox.js
index 4676035..8839bff 100644
--- a/modules/sandbox.js
+++ b/modules/sandbox.js
@@ -73,7 +73,7 @@ function createSandbox(aScript, aContentWin, aUrl, aFrameScope) {
if (GM_util.inArray(aScript.grants, 'GM_registerMenuCommand')) {
Components.utils.evalInSandbox(MenuCommandSandbox.toSource(), sandbox);
sandbox.MenuCommandSandbox(
- aScript.uuid, aScript.name, MenuCommandRespond, aFrameScope,
+ aScript.uuid, aScript.name, MenuCommandRespond,
gInvalidAccesskeyErrorStr);
Components.utils.evalInSandbox('delete MenuCommandSandbox;', sandbox);
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/greasemonkey.git
More information about the Pkg-mozext-commits
mailing list