browser_library_left_pane_fixnames.js File Reference

Go to the source code of this file.

Functions

function test ()
 

Variables

var ww
 
var leftPaneQueries = []
 
var windowObserver
 

Function Documentation

function test ( )

Definition at line 77 of file browser_library_left_pane_fixnames.js.

Here is the call graph for this function:

Variable Documentation

var leftPaneQueries = []

Definition at line 50 of file browser_library_left_pane_fixnames.js.

var windowObserver
Initial value:
= {
observe: function(aSubject, aTopic, aData) {
if (aTopic === "domwindowopened") {
ww.unregisterNotification(this);
var organizer = aSubject.QueryInterface(Ci.nsIDOMWindow);
organizer.addEventListener("load", function onLoad(event) {
organizer.removeEventListener("load", onLoad, false);
executeSoon(function () {
for (var i = 0; i < leftPaneQueries.length; i++) {
var query = leftPaneQueries[i];
is(PlacesUtils.bookmarks.getItemTitle(query.itemId),
query.correctTitle, "Title is correct for query " + query.name);
}
organizer.close();
finish();
});
}, false);
}
}
}
var event
Lastfm onLoad
Definition: mini.js:36
const Ci
_getSelectedPageStyle s i
_updateTextAndScrollDataForFrame aData
sbDeviceFirmwareAutoCheckForUpdate prototype observe

Definition at line 52 of file browser_library_left_pane_fixnames.js.

var ww
Initial value:
= Cc["@mozilla.org/embedcomp/window-watcher;1"].
getService(Ci.nsIWindowWatcher)
const Cc
getService(Ci.sbIFaceplateManager)
const Ci

Test we correctly fix broken Library left pane queries names.

Definition at line 43 of file browser_library_left_pane_fixnames.js.