Closed
Bug 886149
Opened 11 years ago
Closed 11 years ago
Undefined last crash id can causes exception in delayed startup
Categories
(Firefox for Metro Graveyard :: Browser, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 24
People
(Reporter: jimm, Assigned: jimm)
References
Details
Attachments
(1 file)
1.10 KB,
patch
|
bbondy
:
review+
|
Details | Diff | Splinter Review |
Nothing serious since it doesn't prevent code from executing. Needs to get cleaned up though. I also added an exception trap around the crash submit code since we don't own it.
Attachment #766469 -
Flags: review?(netzen)
Comment 1•11 years ago
|
||
Comment on attachment 766469 [details] [diff] [review]
fix
Review of attachment 766469 [details] [diff] [review]:
-----------------------------------------------------------------
::: browser/metro/base/content/browser-ui.js
@@ +226,5 @@
> + try {
> + var lastCrashID = Cc["@mozilla.org/xre/app-info;1"].getService(Ci.nsIXULAppInfo).lastRunCrashID;
> + if (lastCrashID && lastCrashID.length) {
> + Util.dumpLn("Submitting last crash id:", lastCrashID);
> + this.CrashSubmit.submit(lastCrashID);
nit: I'd only put this line in the try/catch
Attachment #766469 -
Flags: review?(netzen) → review+
Assignee | ||
Comment 2•11 years ago
|
||
Will do - updated per comments -
https://hg.mozilla.org/integration/mozilla-inbound/rev/ccb5192667d0
Thanks for the quick review!
Comment 3•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 24
Updated•10 years ago
|
OS: Windows 8 Metro → Windows 8.1
You need to log in
before you can comment on or make changes to this bug.
Description
•