Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

LastPass Vault Issue #11624

Closed
dgcode opened this issue Oct 22, 2017 · 7 comments · Fixed by brave/muon#637
Closed

LastPass Vault Issue #11624

dgcode opened this issue Oct 22, 2017 · 7 comments · Fixed by brave/muon#637

Comments

@dgcode
Copy link

dgcode commented Oct 22, 2017

Test plan

per @darkdh:

  1. Go to about:about
  2. Open console
  3. Type chrome.i18n.getUILanguage()
  4. Result should be en-US

Original issue description

Description

LastPass Vault does not display any saved passwords.

Steps to Reproduce

  1. Open Brave Browser
  2. Log into the LastPass extension
  3. Open LastPass Vault

Actual result:

2017-10-23_9-47-13

Expected result:
I am unable to generate the expected result.

Reproduces how often: [What percentage of the time does it reproduce?]
Everytime.

Brave Version

about:brave info:

Name Version
Brave 0.19.62
rev fe3f350
Muon 4.5.7
libchromiumcontent 62.0.3202.62
V8 6.2.414.32
Node.js 7.9.0
Update Channel Release
OS Platform Microsoft Windows
OS Release 10.0.15063
OS Architecture x64

Reproducible on current live release:

Yes. This issue has presented itself on 2 separate PCs (Windows 8.1 and Windows 10) since the upgrading to the latest release version.

Additional Information

2017-10-23_9-43-40

@jonathansampson
Copy link
Collaborator

jonathansampson commented Aug 1, 2018

Another use reported the same feedback on Twitter (but on Linux), with largely the same console output.

image

image

@bsclifton
Copy link
Member

bsclifton commented Aug 1, 2018

I wonder if this is fixed in our latest version - can anyone verify? (0.23.73)

If it's complaining about the locale, it may still be an issue (ex: calling an API we don't support yet). In that case, it would likely be fixed with Brave Core

@jonathansampson
Copy link
Collaborator

jonathansampson commented Aug 1, 2018

@bsclifton Still broken for me in 0.23.73. The problem is with the format of our response to chrome.i18n.getUILanguage. We respond with an underscore, while Chrome responds with a hyphen/dash.

Brave: en_US
Chrome: en-US

image

image

@jonathansampson
Copy link
Collaborator

Assigning @darkdh, as he's taken a look at the underlying logic and may have a solution.

darkdh added a commit to brave/muon that referenced this issue Aug 2, 2018
`BraveContentBrowserClient::GetApplicationLocale` because the result of
`extension_l10n_util::CurrentLocaleOrDefault` will be normalized by
`l10n_util::NormalizeLocale` which means turning en-US to en_US

`chrome.i18n.getUILanguage` uses `RenderThread::GetLocale()` which reads
from switch `--lang` appended when renderer process created and the
value is reading from `ContentBrowserClient::GetApplicationLocale`

fix brave/browser-laptop#11624

Auditors: @bridiver, @bbondy
@bsclifton
Copy link
Member

@jonathansampson @darkdh do you have test steps you can add for this? 😄

@darkdh
Copy link
Member

darkdh commented Aug 3, 2018

  1. Go to about:about
  2. Open console
  3. Type chrome.i18n.getUILanguage()
  4. Result should be en-US

@LaurenWags
Copy link
Member

LaurenWags commented Aug 3, 2018

Verified with macOS 10.12.6 using

  • 0.23.77 0125b5f
  • Muon 8.0.6
  • libchromiumcontent 68.0.3440.84

screen shot 2018-08-03 at 2 57 53 pm

Verified on Windows using

  • 0.23.77 0125b5f
  • Muon 8.0.6
  • libchromiumcontent 68.0.3440.84

image

Verified on Ubuntu 17.10 x64 using the following build:

  • 0.23.77 0125b5f
  • muon: 8.0.6
  • libchromiumcontent: 68.0.3440.84

screen shot 2018-08-03 at 3 59 02 pm

@kjozwiak kjozwiak changed the title LastPass Vault Issue - Windows LastPass Vault Issue Aug 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.