/[jscoverage]/trunk/jscoverage.jsm
ViewVC logotype

Diff of /trunk/jscoverage.jsm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 452 by siliconforks, Thu Aug 20 23:39:53 2009 UTC revision 453 by siliconforks, Fri Aug 21 02:28:27 2009 UTC
# Line 244  Line 244 
244    const Cc = Components.classes;    const Cc = Components.classes;
245    const Ci = Components.interfaces;    const Ci = Components.interfaces;
246    const jscoverage_observerService = Cc['@mozilla.org/observer-service;1'].getService(Ci.nsIObserverService);    const jscoverage_observerService = Cc['@mozilla.org/observer-service;1'].getService(Ci.nsIObserverService);
247    jscoverage_observerService.addObserver(JSCoverageUtils, 'quit-application', false);    // 'xpcom-shutdown' works under xpcshell
248      // jscoverage_observerService.addObserver(JSCoverageUtils, 'quit-application', false);
249      jscoverage_observerService.addObserver(JSCoverageUtils, 'xpcom-shutdown', false);
250    
251    dump('jscoverage.jsm: initialized\n');    dump('jscoverage.jsm: initialized\n');
252  }  }

Legend:
Removed from v.452  
changed lines
  Added in v.453

  ViewVC Help
Powered by ViewVC 1.1.24