зеркало из https://github.com/mozilla/gecko-dev.git
Bug 828101 - Initialize Firefox Health Report after session restore; r=rnewman
This commit is contained in:
Родитель
48c1af301d
Коммит
d6fd1542e9
|
@ -70,11 +70,11 @@ HealthReportService.prototype = {
|
|||
|
||||
switch (topic) {
|
||||
case "app-startup":
|
||||
os.addObserver(this, "final-ui-startup", true);
|
||||
os.addObserver(this, "sessionstore-windows-restored", true);
|
||||
break;
|
||||
|
||||
case "final-ui-startup":
|
||||
os.removeObserver(this, "final-ui-startup");
|
||||
case "sessionstore-windows-restored":
|
||||
os.removeObserver(this, "sessionstore-windows-restored");
|
||||
|
||||
let delayInterval = this._prefs.get("service.loadDelayMsec") ||
|
||||
DEFAULT_LOAD_DELAY_MSEC;
|
||||
|
|
Загрузка…
Ссылка в новой задаче