DescriptionDo not switch the ICU locale when interacting with public session pods
When the user is choosing a language for a public session, Chrome needs
to verify that the selected locale is actually available, which can be
done by calling GetApplicationLocale(). However, that method has side
effects, in that it not only resolves the locale but also sets the ICU
default locale. This causes the ICU default locale to change
inadvertently while the user is interacting with the language picker.
This CL introduces a variant of GetApplicationLocale() without side
effects and uses that for public session pods.
BUG=403553
TEST=Extended unit and browser tests
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=291033
Patch Set 1 #Patch Set 2 : Slightly extend browser test coverage. #
Total comments: 6
Patch Set 3 : Addressed comments. #
Total comments: 2
Patch Set 4 : Moved redundant test statements into helper methods. #
Messages
Total messages: 18 (0 generated)
|