AddOnUtils.jsm File Reference

Javascript source for the add-on utilities. More...

Go to the source code of this file.

Functions

Components utils import ("resource://app/jsmodules/RDFHelper.jsm")
 
function AddOnBundleLoader ()
 

Variables

 EXPORTED_SYMBOLS = [ "AddOnBundleLoader" ]
 
var AddOnUtilsCfg
 
const Cc = Components.classes
 
const Ci = Components.interfaces
 
const Cr = Components.results
 
const Cu = Components.utils
 
const DEFAULT_IO_FLAGS = -1
 
const DEFAULT_PERMISSIONS = -1
 

Detailed Description

Javascript source for the add-on utilities.

Definition in file AddOnUtils.jsm.

Function Documentation

function AddOnBundleLoader ( )

Construct an add-on bundle loader object.

Definition at line 93 of file AddOnUtils.jsm.

Components utils import ( "resource://app/jsmodules/RDFHelper.jsm"  )

Variable Documentation

var AddOnUtilsCfg
Initial value:
= {
addOnBundleURLPref: "songbird.url.firstrun",
addOnBundleBlacklistPref: "songbird.recommended_addons.update.blacklist",
addOnBundleDataLoadTimeout: 15000,
addOnBundleCacheFileName: "recommendedAddOnBundle.xml"
}

Definition at line 49 of file AddOnUtils.jsm.

const Cc = Components.classes

Definition at line 72 of file AddOnUtils.jsm.

Definition at line 73 of file AddOnUtils.jsm.

const Cr = Components.results

Definition at line 74 of file AddOnUtils.jsm.

const Cu = Components.utils

Definition at line 75 of file AddOnUtils.jsm.

const DEFAULT_IO_FLAGS = -1

Definition at line 77 of file AddOnUtils.jsm.

const DEFAULT_PERMISSIONS = -1

Definition at line 78 of file AddOnUtils.jsm.

EXPORTED_SYMBOLS = [ "AddOnBundleLoader" ]

Definition at line 40 of file AddOnUtils.jsm.