head_playlistcommands.js File Reference

Go to the source code of this file.

Functions

Components utils import ("resource://gre/modules/XPCOMUtils.jsm")
 
function testAppendInsertRemove (aCommand, aMenuID, aTestLength, aNumSubCommands)
 
function testAppendActions (aCommand, aMenuID, aTestLength, aNumSubCommands)
 
function testRemoveSubobjects (aCommand, aMenuID, aTestLength, aNumSubCommands)
 
function testInsertActions (aCommand, aMenuID, aTestLength, aNumSubCommands)
 
function testAppendAndInsertAllTypes (aCommand, aMenuID, aTestLength, aNumSubCommands)
 
function ExecuteInstructions (aCommand, aInstructions, aMenuID)
 
function completeFunctionName (aType, aFunctionName)
 
function addChoiceMenuItems (aCommand, aChoiceMenuId, aCheckObject)
 
function testCommandCallbacksAndShortcuts (aCommand, aMenuID, aTestLength, aNumSubCommands)
 
function testInitShutdownCB (aCommand)
 
function testCommandVisibleAndEnabled (aCommand, aMenuID, aTestLength, aNumSubCommands)
 
function testCommandShortcut (aCommand, aMenuID, aTestLength, aNumSubCommands)
 
function testTriggerActions (aCommand, aMenuID, aTestLength, aNumSubCommands)
 
function testSubmenus (aCommand, aMenuID, aTestLength, aNumSubCommands)
 
function makeTriggerCallback (aActionID)
 
function makeValueCallback (aActionID, aCallbackval)
 
function makeValueSetter (aActionID)
 
function makeInstantiationCallback (aActionID)
 
function makeRefreshCallback (aActionID)
 
function assertLog (aCommandObject)
 
function assertType (aCommandObject, aCheckObject, aIndex)
 
function assertId (aCommandObject, aCheckObject, aIndex)
 
function assertLabel (aCommandObject, aCheckObject, aIndex)
 
function assertTooltip (aCommandObject, aCheckObject, aIndex)
 
function assertUICallbacks (aCommandObject, aCheckObject, aIndex)
 
function assertShortcuts (aCommandObject, aCheckObject, aIndex)
 
function assertValueCallback (aCommandObject, aCheckObject, aIndex)
 
function assertValueSetter (aCommandObject, aCheckObject, aIndex)
 
function assertChoiceMenuItems (aCommandObject, aCheckObject, aIndex)
 
function assertSubActions (aCommandObject, aCheckObject, aIndex)
 
function assertTriggerCallback (aCommandObject, aCheckObject, aIndex)
 
function assertInstantiate (aCommandObject, aCheckObject, aIndex)
 
function assertRefresh (aCommandObject, aCheckObject, aIndex)
 
function assertNumCommands (aCmds, aMenuID, aNum)
 
function _log (aMsg, aMenuID)
 
function setLog (aMenuID)
 
function getCommandData (type)
 

Variables

var gTestPrefix = "PlaylistCommandsBuilder"
 
var gTriggered = false
 
var gRefreshed = false
 
var gValueChecker = null
 
var gIDCounter = 0
 
var dummyNode
 
var dummyDocument
 
var FLAG
 
var gRootLog = new Array()
 
var gActiveCommandLog = gRootLog
 

Function Documentation

function _log (   aMsg,
  aMenuID 
)

Definition at line 1535 of file head_playlistcommands.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function addChoiceMenuItems (   aCommand,
  aChoiceMenuId,
  aCheckObject 
)

Definition at line 755 of file head_playlistcommands.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function assertChoiceMenuItems (   aCommandObject,
  aCheckObject,
  aIndex 
)

Definition at line 1417 of file head_playlistcommands.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function assertId (   aCommandObject,
  aCheckObject,
  aIndex 
)

Definition at line 1260 of file head_playlistcommands.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function assertInstantiate (   aCommandObject,
  aCheckObject,
  aIndex 
)

Definition at line 1490 of file head_playlistcommands.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function assertLabel (   aCommandObject,
  aCheckObject,
  aIndex 
)

Definition at line 1275 of file head_playlistcommands.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function assertLog (   aCommandObject)

Definition at line 1158 of file head_playlistcommands.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function assertNumCommands (   aCmds,
  aMenuID,
  aNum 
)

Definition at line 1520 of file head_playlistcommands.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function assertRefresh (   aCommandObject,
  aCheckObject,
  aIndex 
)

Definition at line 1506 of file head_playlistcommands.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function assertShortcuts (   aCommandObject,
  aCheckObject,
  aIndex 
)

Definition at line 1341 of file head_playlistcommands.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function assertSubActions (   aCommandObject,
  aCheckObject,
  aIndex 
)

Definition at line 1444 of file head_playlistcommands.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function assertTooltip (   aCommandObject,
  aCheckObject,
  aIndex 
)

Definition at line 1292 of file head_playlistcommands.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function assertTriggerCallback (   aCommandObject,
  aCheckObject,
  aIndex 
)

Definition at line 1473 of file head_playlistcommands.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function assertType (   aCommandObject,
  aCheckObject,
  aIndex 
)

Definition at line 1244 of file head_playlistcommands.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function assertUICallbacks (   aCommandObject,
  aCheckObject,
  aIndex 
)

Definition at line 1314 of file head_playlistcommands.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function assertValueCallback (   aCommandObject,
  aCheckObject,
  aIndex 
)

Definition at line 1382 of file head_playlistcommands.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function assertValueSetter (   aCommandObject,
  aCheckObject,
  aIndex 
)

Definition at line 1402 of file head_playlistcommands.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function completeFunctionName (   aType,
  aFunctionName 
)

Definition at line 719 of file head_playlistcommands.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function ExecuteInstructions (   aCommand,
  aInstructions,
  aMenuID 
)

Definition at line 550 of file head_playlistcommands.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function getCommandData (   type)

Definition at line 1569 of file head_playlistcommands.js.

Here is the caller graph for this function:

Components utils import ( "resource://gre/modules/XPCOMUtils.jsm"  )
function makeInstantiationCallback (   aActionID)

Definition at line 1120 of file head_playlistcommands.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function makeRefreshCallback (   aActionID)

Definition at line 1135 of file head_playlistcommands.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function makeTriggerCallback (   aActionID)

Definition at line 1081 of file head_playlistcommands.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function makeValueCallback (   aActionID,
  aCallbackval 
)

Definition at line 1094 of file head_playlistcommands.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function makeValueSetter (   aActionID)

Definition at line 1107 of file head_playlistcommands.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function setLog (   aMenuID)

Definition at line 1545 of file head_playlistcommands.js.

Here is the caller graph for this function:

function testAppendActions (   aCommand,
  aMenuID,
  aTestLength,
  aNumSubCommands 
)

Definition at line 222 of file head_playlistcommands.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function testAppendAndInsertAllTypes (   aCommand,
  aMenuID,
  aTestLength,
  aNumSubCommands 
)

Definition at line 419 of file head_playlistcommands.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function testAppendInsertRemove (   aCommand,
  aMenuID,
  aTestLength,
  aNumSubCommands 
)

Definition at line 114 of file head_playlistcommands.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function testCommandCallbacksAndShortcuts (   aCommand,
  aMenuID,
  aTestLength,
  aNumSubCommands 
)

Definition at line 793 of file head_playlistcommands.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function testCommandShortcut (   aCommand,
  aMenuID,
  aTestLength,
  aNumSubCommands 
)

Definition at line 936 of file head_playlistcommands.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function testCommandVisibleAndEnabled (   aCommand,
  aMenuID,
  aTestLength,
  aNumSubCommands 
)

Definition at line 904 of file head_playlistcommands.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function testInitShutdownCB (   aCommand)

Definition at line 846 of file head_playlistcommands.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function testInsertActions (   aCommand,
  aMenuID,
  aTestLength,
  aNumSubCommands 
)

Definition at line 356 of file head_playlistcommands.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function testRemoveSubobjects (   aCommand,
  aMenuID,
  aTestLength,
  aNumSubCommands 
)

Definition at line 283 of file head_playlistcommands.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function testSubmenus (   aCommand,
  aMenuID,
  aTestLength,
  aNumSubCommands 
)

Definition at line 983 of file head_playlistcommands.js.

Here is the call graph for this function:

Here is the caller graph for this function:

function testTriggerActions (   aCommand,
  aMenuID,
  aTestLength,
  aNumSubCommands 
)

Definition at line 964 of file head_playlistcommands.js.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

var dummyDocument
Initial value:
= {
QueryInterface : XPCOMUtils.generateQI([Ci.nsIDOMDocument])
}
sbOSDControlService prototype QueryInterface
const Ci

Definition at line 43 of file head_playlistcommands.js.

var dummyNode
Initial value:
= {
QueryInterface : XPCOMUtils.generateQI([Ci.nsIDOMNode])
}
sbOSDControlService prototype QueryInterface
const Ci

Definition at line 40 of file head_playlistcommands.js.

var FLAG
Initial value:
= {
EXISTING: "existing",
SUBMENU: "submenu",
ACTION: "action",
SEPARATOR: "separator",
FLAG: "flag",
VALUE: "value",
CHOICEMENU: "choice",
CHOICEMENUITEM: "choiceitem",
CUSTOM: "custom",
COMMAND: "subobject"
}
var NUM_CHOICEMENUITEMS = 10
const SEPARATOR

Definition at line 49 of file head_playlistcommands.js.

var gActiveCommandLog = gRootLog

Definition at line 86 of file head_playlistcommands.js.

var gIDCounter = 0

Definition at line 37 of file head_playlistcommands.js.

var gRefreshed = false

Definition at line 32 of file head_playlistcommands.js.

var gRootLog = new Array()

Definition at line 76 of file head_playlistcommands.js.

var gTestPrefix = "PlaylistCommandsBuilder"

Definition at line 28 of file head_playlistcommands.js.

var gTriggered = false

Definition at line 31 of file head_playlistcommands.js.

var gValueChecker = null

Definition at line 33 of file head_playlistcommands.js.