navigator.languages is empty
Bug #1620528 reported by
Olivier Tilloy
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Oxide |
Fix Released
|
Medium
|
Olivier Tilloy | ||
uNav |
Triaged
|
Wishlist
|
costales |
Bug Description
According to the doc at https:/
On my system in a simple WebView I’m seeing navigator.language == "fr-FR" (expected) and navigator.languages == [] (empty array, not expected).
Related branches
~osomon/oxide:navigator.languages-2
- Chris Coulson: Needs Fixing
-
Diff: 143 lines (+73/-3)6 files modifiedqt/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)
Changed in oxide: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in oxide: | |
status: | Triaged → In Progress |
assignee: | nobody → Olivier Tilloy (osomon) |
Changed in oxide: | |
milestone: | none → branch-1.19 |
Changed in oxide: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
Marking unav also affected because it embeds jquery-localize which trips on the empty navigator.languages (https:/ /github. com/coderifous/ jquery- localize/ pull/74).