Benjamin, I need your chrome registry start-up brain.
My current idea is for intl.locale.matchOS to work, we should set general.useragent.locale on the default branch to best match or leave it alone.
http://lxr.mozilla.org/mozilla/source/chrome/src/nsChromeRegistry.cpp#530
seems to be the place to look at, but I'm afraid my idea may end up in a deadlock between setting mSelectedLocale and CheckForNewChrome. Though I currently don't see that CheckForNewChrome would need mSelectedLocale to be right.
Not that I know the default pref branch well enough to understand if this really does the right thing. Do you? Or who would?
Benjamin, I need your chrome registry start-up brain.
My current idea is for intl.locale.matchOS to work, we should set general. useragent. locale on the default branch to best match or leave it alone.
http:// lxr.mozilla. org/mozilla/ source/ chrome/ src/nsChromeReg istry.cpp# 530
seems to be the place to look at, but I'm afraid my idea may end up in a deadlock between setting mSelectedLocale and CheckForNewChrome. Though I currently don't see that CheckForNewChrome would need mSelectedLocale to be right.
Not that I know the default pref branch well enough to understand if this really does the right thing. Do you? Or who would?