[Pkg-mozext-commits] [requestpolicy] 116/280: [refact] overlay: remove obsolete/unused functions
David Prévot
taffit at moszumanska.debian.org
Sat May 2 20:30:08 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository requestpolicy.
commit f1d249a2f04fdce09fd563b918ba5d49f8382dbd
Author: Martin Kimmerle <dev at 256k.de>
Date: Tue Jan 6 11:06:37 2015 +0100
[refact] overlay: remove obsolete/unused functions
forbidOrigin
forbidCurrentOrigin
forbidDestination
forbidOriginToDestination
---
src/content/ui/overlay.js | 46 ----------------------------------------------
1 file changed, 46 deletions(-)
diff --git a/src/content/ui/overlay.js b/src/content/ui/overlay.js
index 4281cb0..220c085 100644
--- a/src/content/ui/overlay.js
+++ b/src/content/ui/overlay.js
@@ -1131,52 +1131,6 @@ requestpolicy.overlay = (function() {
};
/**
- * Forbids an origin from requesting from any destination. This revoke's
- * temporary or permanent request permissions the origin had been given.
- */
- self.forbidOrigin = function(originHost) {
- rpService.forbidOrigin(originHost);
- };
-
- /**
- * Forbids the current document's origin from requesting from any destination.
- * This revoke's temporary or permanent request permissions the origin had
- * been given.
- *
- * @param {Event}
- * event
- */
- self.forbidCurrentOrigin = function(event) {
- var host = self.getTopLevelDocumentUriIdentifier();
- rpService.forbidOrigin(host);
- };
-
- /**
- * Forbids a destination from being requested by any origin. This revoke's
- * temporary or permanent request permissions the destination had been given.
- *
- * @param {String}
- * destHost
- */
- self.forbidDestination = function(destHost) {
- rpService.forbidDestination(destHost);
- };
-
- /**
- * Forbids a destination from being requested by a single origin. This
- * revoke's temporary or permanent request permissions the destination had
- * been given.
- *
- * @param {String}
- * originHost
- * @param {String}
- * destHost
- */
- self.forbidOriginToDestination = function(originHost, destHost) {
- rpService.forbidOriginToDestination(originHost, destHost);
- };
-
- /**
* Revokes all temporary permissions granted during the current session.
*
* @param {Event}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/requestpolicy.git
More information about the Pkg-mozext-commits
mailing list