Describe the bug
Run cefclient.exe --enable-chrome-runtime --lang=en --url=file:///C:/temp/lang.html with the below "lang.html" contents.
<html><body>
<div id="val"/>
<script>document.getElementById('val').innerHTML = navigator.language;</script>
</body></html>
Expected behavior
The page should display "en". Instead, it displays "en-US".
Versions (please complete the following information):
- OS: Windows 10
- CEF Version: M117
Additional context
The cefclient app sets CefSettings.accept_language_list based on the "lang" flag here. This works as expected with the Alloy runtime.