зеркало из https://github.com/mozilla/gecko-dev.git
Bug 829477 - Don't notify the UI if we didn't have crash ID. r=fabrice
Thanks margaret! --HG-- extra : rebase_source : cde55fa2e2ed892f1f2dd3943122d55dae688e43
This commit is contained in:
Родитель
9409af3746
Коммит
69fa838f1a
|
@ -121,12 +121,16 @@ var shell = {
|
|||
}
|
||||
} catch (e) { }
|
||||
|
||||
// Let Gaia notify the user of the crash.
|
||||
this.sendChromeEvent({
|
||||
type: "handle-crash",
|
||||
crashID: crashID,
|
||||
chrome: isChrome
|
||||
});
|
||||
// We can get here if we're just submitting old pending crashes.
|
||||
// Check that there's a valid crashID so that we only notify the
|
||||
// user if a crash just happened and not when we OOM. Bug 829477
|
||||
if (crashID) {
|
||||
this.sendChromeEvent({
|
||||
type: "handle-crash",
|
||||
crashID: crashID,
|
||||
chrome: isChrome
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
// this function submit the pending crashes.
|
||||
|
|
Загрузка…
Ссылка в новой задаче