rem:             dump("XXX fix me to flush pending notifcations\n"); 
add: try { addrbooksession.ensureDocumentIsLoaded(document); } catch (ex) { dump("failed to flush pending notifications: " + ex + "\n"); } 
context: function WaitUntilDocumentIsLoaded(){    // we used to call msgNavigationService.EnsureDocumentIsLoaded(document);    // just to do this.  there is no more msg navigation service, so we need     // to find another way to do this.    // is it still needed?    //    // here's the C++:    // nsCOMPtr <nsIDocument> doc = do_QueryInterface(document);    // doc->FlushPendingNotifcations();    //    // nsIDocument isn't scriptable, so we can't do that from js.    // it seems like a hack.  perhaps we should add it to an address book service    // if we still need it.    dump("XXX fix me to flush pending notifcations\n");}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/8ebef7aa8b3391ed99b83dc189552c992c5fe4ea/abCommon.js/clean/mailnews/addrbook/resources/content/abCommon.js