• Wez's avatar
    [fuchsia] Provide system locale to web content & network stack. · 6bfc721c
    Wez authored
    ICU is configured with the currently-configured locale in each WebEngine
    process when it starts up.
    
    In the browser process the locale is monitored and changes applied
    at run-time, to ensure that e.g. accept-language headers are up to date.
    
    The locale is passed by the browser process to some child processes
    (e.g. renderers) when they are started. Renderers in particular cannot
    have their locale re-configured dynamically once started.
    
    Bug: 1156404, 1157244
    Bug: b/168161909
    Change-Id: Id7ff526f1d371b103632c7a284bd16fa694654a6
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2595368
    Commit-Queue: Wez <wez@chromium.org>
    Auto-Submit: Wez <wez@chromium.org>
    Reviewed-by: default avatarDavid Dorwin <ddorwin@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#842064}
    6bfc721c
web_engine_main_delegate.cc 4.39 KB