Merge ~osomon/oxide:navigator.languages-2 into oxide:master
Proposed by
Olivier Tilloy
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Chris Coulson | ||||
Approved revision: | 20ffa23227535c319a7a1528614b0f8d7126c0e0 | ||||
Merged at revision: | 4d4261a6e29b605178880e316b89da595e09151b | ||||
Proposed branch: | ~osomon/oxide:navigator.languages-2 | ||||
Merge into: | oxide:master | ||||
Diff against target: |
143 lines (+73/-3) 6 files modified
qt/quick/api/oxideqquickwebcontext.cc (+2/-1) qt/tests/qmltests/web_platform/tst_navigator_languages.qml (+50/-0) shared/browser/oxide_user_agent_settings.cc (+4/-0) shared/browser/oxide_user_agent_settings_observer.h (+2/-0) shared/browser/web_contents_helper.cc (+14/-2) shared/browser/web_contents_helper.h (+1/-0) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chris Coulson | Needs Fixing | ||
Review via email: mp+307476@code.launchpad.net |
Commit message
Ensure that navigator.languages is not empty by propagating the value of UserAgentSettin
LP: #1620528
To post a comment you must log in.
This looks ok. Would you mind updating the documentation for WebContext: :acceptLangs though? It currently only mentions the HTTP Accept-Language header (remember that navigator.languages reflects the value of this property directly, whereas it's used to generate another string for the Accept-Language header).