permissions.js File Reference

Go to the source code of this file.

Functions

function onLoadPermission ()
 
function onUnloadPermission ()
 
function initRow (aPartId)
 
function onCheckboxClick (aPartId)
 
function onRadioClick (aPartId)
 
function setRadioState (aPartId, aValue)
 

Variables

const ALLOW = nsIPermissionManager.ALLOW_ACTION
 
const BLOCK = nsIPermissionManager.DENY_ACTION
 
const SESSION = nsICookiePermission.ACCESS_SESSION
 
var gPermURI
 
var gPrefs
 
var gPermObj
 
var permissionObserver
 

Function Documentation

function initRow (   aPartId)

Definition at line 118 of file permissions.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function onCheckboxClick (   aPartId)

Definition at line 138 of file permissions.js.

Here is the call graph for this function:

function onLoadPermission ( )

Definition at line 87 of file permissions.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function onRadioClick (   aPartId)

Definition at line 157 of file permissions.js.

Here is the caller graph for this function:

function onUnloadPermission ( )

Definition at line 111 of file permissions.js.

Here is the caller graph for this function:

function setRadioState (   aPartId,
  aValue 
)

Definition at line 168 of file permissions.js.

Here is the caller graph for this function:

Variable Documentation

const ALLOW = nsIPermissionManager.ALLOW_ACTION

Definition at line 36 of file permissions.js.

const BLOCK = nsIPermissionManager.DENY_ACTION

Definition at line 37 of file permissions.js.

var gPermObj

Definition at line 42 of file permissions.js.

var gPermURI

Definition at line 39 of file permissions.js.

var gPrefs

Definition at line 40 of file permissions.js.

var permissionObserver
Initial value:
= {
observe: function (aSubject, aTopic, aData)
{
if (aTopic == "perm-changed") {
var permission = aSubject.QueryInterface(Components.interfaces.nsIPermission);
if (permission.host == gPermURI.host && permission.type in gPermObj)
initRow(permission.type);
}
}
}
var gPermObj
Definition: permissions.js:42
function initRow(aPartId)
Definition: permissions.js:118
var gPermURI
Definition: permissions.js:39
_updateTextAndScrollDataForFrame aData
sbDeviceFirmwareAutoCheckForUpdate prototype observe

Definition at line 76 of file permissions.js.

const SESSION = nsICookiePermission.ACCESS_SESSION

Definition at line 38 of file permissions.js.