[Pkg-privacy-commits] [xul-ext-monkeysphere] 23/296: rename checkOverrideStatus function
Ximin Luo
infinity0 at moszumanska.debian.org
Mon Aug 24 07:39:21 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch debian
in repository xul-ext-monkeysphere.
commit 2ce10f0cf6b5ee33bd9eb47d764ed6eb338953a4
Author: Jameson Rollins <jrollins at finestructure.net>
Date: Sat Jan 9 16:03:17 2010 -0500
rename checkOverrideStatus function
---
chrome/content/monkeysphere.js | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/chrome/content/monkeysphere.js b/chrome/content/monkeysphere.js
index 2309f73..01cbe43 100644
--- a/chrome/content/monkeysphere.js
+++ b/chrome/content/monkeysphere.js
@@ -225,7 +225,7 @@ var monkeysphere = {
// check if exception has already been granted this session
monkeysphere.log("main", "checking override status:");
- if(monkeysphere.getOverrideStatus(uri)) {
+ if(monkeysphere.checkOverrideStatus(uri)) {
monkeysphere.log("main", " site already validated");
monkeysphere.setStatus(monkeysphere.states.SEC,
monkeysphere.messages.getString("statusValidated"));
@@ -353,14 +353,14 @@ var monkeysphere = {
////////////////////////////////////////////////////////////
// get current validity override status
- getOverrideStatus: function(uri) {
+ checkOverrideStatus: function(uri) {
// the status return is a bool, true for override set
var status;
var aHashAlg = {};
var aFingerprint = {};
var aOverrideBits = {};
var aIsTemporary = {};
- monkeysphere.log("debug", "current override state:");
+ monkeysphere.log("debug", "current override status:");
status = monkeysphere.override.getValidityOverride(uri.asciiHost, uri.port,
aHashAlg,
aFingerprint,
@@ -403,7 +403,7 @@ var monkeysphere = {
monkeysphere.log("policy", " overrideBits: " + overrideBits);
// check override status
- monkeysphere.getOverrideStatus(uri);
+ monkeysphere.checkOverrideStatus(uri);
monkeysphere.log("policy", "setting temporary override");
monkeysphere.override.rememberValidityOverride(uri.asciiHost, uri.port,
@@ -412,7 +412,7 @@ var monkeysphere = {
true);
// check override status
- monkeysphere.getOverrideStatus(uri);
+ monkeysphere.checkOverrideStatus(uri);
monkeysphere.log("policy", "browser reload");
// FIXME: why the "timeout"? what's it for?
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/xul-ext-monkeysphere.git
More information about the Pkg-privacy-commits
mailing list