31 Components.utils.import(
"resource://gre/modules/XPCOMUtils.jsm");
36 var a = data.split(
"\n");
39 for(var
i = 0;
i < a.length - 1;
i++) {
40 b.push(a[
i].split(
"\t")[0]);
47 var
file =
Cc[
"@mozilla.org/file/directory_service;1"]
48 .getService(
Ci.nsIProperties)
49 .get(
"resource:app",
Ci.nsIFile);
51 file.append(
"testharness");
52 file.append(
"localdatabaselibrary");
53 file.append(fileName);
62 onItemAdded:
function()
true,
63 onBeforeItemRemoved:
function()
true,
64 onAfterItemRemoved:
function()
true,
65 onItemUpdated:
function()
true,
66 onItemMoved:
function()
true,
67 onBeforeListCleared:
function()
true,
68 onListCleared:
function()
true,
69 onBatchBegin:
function(aMediaList) {
71 log(
"depth: " + this.depth);
73 onBatchEnd:
function(aMediaList) {
75 log(
"depth: " + this.depth);
77 waitForCompletion:
function(aCallback) {
78 var targetDepth = this.depth;
80 log(
"waiting for depth " + this.depth +
" to go to " + targetDepth);
81 while (this.depth > targetDepth) {
85 waitForEndBatch:
function() {
86 log(
"waiting for depth " + this.depth +
" to go straight to 0");
87 while (this.depth > 0) {
function sleep(ms, suppressOutput)
sbOSDControlService prototype QueryInterface
function getFile(fileName)
function BatchEndListener()
function readList(dataFile)
function readFile(fileName)
_getSelectedPageStyle s i