Closed
Bug 1132273
Opened 9 years ago
Closed 8 years ago
Crash reporter expects general.useragent.locale to be a simple string pref
Categories
(Firefox for Android Graveyard :: Locale switching and selection, defect)
Firefox for Android Graveyard
Locale switching and selection
All
Android
Tracking
(firefox43 fixed)
RESOLVED
FIXED
Firefox 43
Tracking | Status | |
---|---|---|
firefox43 | --- | fixed |
People
(Reporter: rnewman, Assigned: rnewman)
Details
Attachments
(1 file)
This was never reliably the case, and now it's reliably not the case. All crash reports will show: useragent_locale chrome://global/locale/intl.properties I have no idea where this code lives. Can anyone throw me a clue?
Flags: needinfo?(snorp)
Comment 1•9 years ago
|
||
http://mxr.mozilla.org/mozilla-central/source/toolkit/xre/nsAppRunner.cpp#4051
Assignee | ||
Comment 2•9 years ago
|
||
Untested.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → rnewman
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•9 years ago
|
||
I have no good ideas on how to write a test for this without savagely chopping up nsAppRunner. Thoughts?
Comment 4•9 years ago
|
||
Maybe using this file as an example: http://mxr.mozilla.org/mozilla-central/source/toolkit/crashreporter/test/unit/test_crashreporter_crash.js#42 I see annotations being added and checked
Looks like :rnewman has this under control
Flags: needinfo?(snorp)
Assignee | ||
Comment 6•8 years ago
|
||
Comment on attachment 8563211 [details] [diff] [review] Report general.useragent.locale correctly regardless of whether it's a simple or localized string. v1 Can this land without a test?
Attachment #8563211 -
Flags: review?(mark.finkle)
Comment 7•8 years ago
|
||
Comment on attachment 8563211 [details] [diff] [review] Report general.useragent.locale correctly regardless of whether it's a simple or localized string. v1 LGTM
Attachment #8563211 -
Flags: review?(mark.finkle) → review+
Assignee | ||
Comment 8•8 years ago
|
||
url: https://hg.mozilla.org/integration/fx-team/rev/6ab9ac65553587b61da5d187796c1a59e1631762 changeset: 6ab9ac65553587b61da5d187796c1a59e1631762 user: Richard Newman <rnewman@mozilla.com> date: Thu Aug 13 14:46:13 2015 -0700 description: Bug 1132273 - Report general.useragent.locale correctly regardless of whether it's a simple or localized string. r=mfinkle
Comment 9•8 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/6ab9ac655535
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox43:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 43
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•