Bug 562663 - Rev3 Fedora 12 x64 permaorange in browser_library_panel_leak.js. r=dietrich

This commit is contained in:
Marco Bonardo 2010-05-12 12:20:05 +02:00
parent 987c28833e
commit fef9f7d344

View File

@ -65,6 +65,13 @@ function windowObserver(aSubject, aTopic, aData) {
isnot(contentTree, null, "Sanity check: placeContent tree should exist");
isnot(organizer.PlacesOrganizer, null, "Sanity check: PlacesOrganizer should exist");
isnot(organizer.gEditItemOverlay, null, "Sanity check: gEditItemOverlay should exist");
if (!organizer.gEditItemOverlay._initialized){
// The overlay is initialized on focus, we wait for it to be fully operational.
setTimeout(arguments.callee, 10);
return;
}
isnot(organizer.gEditItemOverlay.itemId, -1, "Editing a bookmark");
// Select History in the left pane.
organizer.PlacesOrganizer.selectLeftPaneQuery('History');