зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1391117 - Prevent nsBrowserGlue's initialization tasks from running twice in case its notification is sent again. r=mikedeboer
MozReview-Commit-ID: Id5A5UoUbeA --HG-- extra : rebase_source : 206b6dab1a86c3b9836648f43f9ba8ddf358a05d
This commit is contained in:
Родитель
1fb5df3521
Коммит
3cc0191877
|
@ -1018,6 +1018,11 @@ BrowserGlue.prototype = {
|
|||
|
||||
// All initial windows have opened.
|
||||
_onWindowsRestored: function BG__onWindowsRestored() {
|
||||
if (this._windowsWereRestored) {
|
||||
return;
|
||||
}
|
||||
this._windowsWereRestored = true;
|
||||
|
||||
BrowserUsageTelemetry.init();
|
||||
BrowserUITelemetry.init();
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче