rem: WINDOWSVC         = Components.classes[kWINDOWContractID].getService(kWINDOWIID); 
add: try { WINDOWSVC         = Components.classes[kWINDOWContractID].getService(kWINDOWIID); } catch (e) {} 
context: function initServices(){  NC_NS     = "http://home.netscape.com/NC-rdf#";  WEB_NS    = "http://home.netscape.com/WEB-rdf#";  RDF_NS    = "http://www.w3.org/1999/02/22-rdf-syntax-ns#";  XUL_NS    = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";  NC_NS_CMD = NC_NS + "command?cmd=";  kRDFContractID   = "@mozilla.org/rdf/rdf-service;1";  kRDFSVCIID       = Components.interfaces.nsIRDFService;  kRDFRSCIID       = Components.interfaces.nsIRDFResource;  kRDFLITIID       = Components.interfaces.nsIRDFLiteral;  RDF              = Components.classes[kRDFContractID].getService(kRDFSVCIID);  kRDFCContractID  = "@mozilla.org/rdf/container;1";  kRDFCIID         = Components.interfaces.nsIRDFContainer;  RDFC             = Components.classes[kRDFCContractID].createInstance(kRDFCIID);  kRDFCUContractID = "@mozilla.org/rdf/container-utils;1";  kRDFCUIID        = Components.interfaces.nsIRDFContainerUtils;  RDFCU            = Components.classes[kRDFCUContractID].getService(kRDFCUIID);  kPREFContractID  = "@mozilla.org/preferences-service;1";  kPREFIID         = Components.interfaces.nsIPrefService;  PREF             = Components.classes[kPREFContractID].getService(kPREFIID)                               .getBranch(null);  kSOUNDContractID = "@mozilla.org/sound;1";  kSOUNDIID        = Components.interfaces.nsISound;  SOUND            = Components.classes[kSOUNDContractID].createInstance(kSOUNDIID);  kWINDOWContractID = "@mozilla.org/appshell/window-mediator;1";  kWINDOWIID        = Components.interfaces.nsIWindowMediator;  WINDOWSVC         = Components.classes[kWINDOWContractID].getService(kWINDOWIID);  kDSContractID     = "@mozilla.org/widget/dragservice;1";  kDSIID            = Components.interfaces.nsIDragService;  DS                = Components.classes[kDSContractID].getService(kDSIID);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/7903d75f2cd1bf6e2948888a4b25e7bd2ec7b992/bookmarks.js/clean/xpfe/components/bookmarks/resources/bookmarks.js