mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
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:
parent
9409af3746
commit
69fa838f1a
@ -121,12 +121,16 @@ var shell = {
|
||||
}
|
||||
} catch (e) { }
|
||||
|
||||
// Let Gaia notify the user of the crash.
|
||||
// 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.
|
||||
|
Loading…
Reference in New Issue
Block a user