generate and send unique user id in crash reports

RESOLVED FIXED

Status

()

RESOLVED FIXED
11 years ago
11 years ago

People

(Reporter: ted, Assigned: ted)

Tracking

Trunk
Points:
---
Bug Flags:
in-testsuite ?

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

We should generate and send a unique user id with crash reports.  I think the simplest implementation of this would be:
- Store the ID in $APPDATA/Mozilla/Firefox/Crash Reports/ID (or other platform equivalents)
- If that file doesn't exist on startup, generate a new ID and store it in that file
- On startup, read that file and AnnotateCrashReport('UserID', id)
Created attachment 272215 [details] [diff] [review]
generate and send UserID with crash report

Only tested on Windows currently, but it works fine there.
Assignee: nobody → ted.mielczarek
Status: NEW → ASSIGNED
Works on OS X, still need to test Linux.
Comment on attachment 272215 [details] [diff] [review]
generate and send UserID with crash report

Ok, seems to work fine on all three platforms.
Attachment #272215 - Flags: review?(benjamin)

Updated

11 years ago
Attachment #272215 - Flags: review?(benjamin) → review+
Checked in.
Status: ASSIGNED → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → FIXED
(Assignee)

Updated

11 years ago
Flags: in-testsuite?
You need to log in before you can comment on or make changes to this bug.