-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
window.phantom
being defined breaks several websites
#24289
Comments
This can also happen if you install and setup Phantom extension using Chrome. The website will give the exactly same error because it sees |
Just posted that this wallet issue fixed the bank website issue. I am wondering how many other Brave Beta users are having this problem. Thanks @bsclifton for the heads up changing the wallets to NONE fixed this issue for me. I do not use Brave for crypto or BAT. |
window.phantom
being defined breaks several websites
Thanks @snowbound for reporting https://online.acu.ca/ breakage; there are likely other websites having the same problem. One more website reported by @ryanbr is https://www.jingpt.com/ which won't render at all when If I had to guess, I think that some websites are having a special code path for automated tests (ex: using Selenium). If |
Reverts #14282 Fixes brave/brave-browser#24289 Unfixes brave/brave-browser#24192
Verification
Verified using STR #24289 (comment) ###Confirmed correct error message displayed
Verified this site https://online.acu.ca/ as well as per #24347 Confirmed
|
Verification
|
Brave | 1.42.86 Chromium: 104.0.5112.81 (Official Build) (x86_64) |
---|---|
Revision | 5b7b76419d50f583022568b6764b630f6ddc9208-refs/branch-heads/5112@{#1309} |
OS | macOS Version 11.6.8 (Build 20G730) |
Confirmed the fix in 1.42.86
, using the steps to reproduce from #24289 (comment); I first reproduced both issues using 1.42.85
Edward Jones, 1.42.85 |
Edward Jones, 1.42.86 |
---|---|
![]() |
![]() |
online.acu.ca , 1.42.85 |
online.acu.ca , 1.42.86 |
---|---|
![]() |
![]() |
Description
Trying to login with valid (or invalid) credentials triggers a fatal error on some websites, preventing login.
Works fine in Brave version
1.42
(before 1.42.81),1.41
and in Chrome. Also works fine in a private windowSteps to Reproduce
braveuser
AbbbAAbbcdD11
Actual result:
Error is shown
Due to a system problem, we are unable to log you in at this time. Please try again later. If the problem continues, contact Online Client Support at 800-441-5203.
Expected result:
Should show an error
The system did not recognize the user ID and password you entered.
Reproduces how often:
100%
Brave version (brave://version info)
1.43.42 or newer (Nightly)
1.42.81 or newer (Beta)
Version/Channel Information:
Other Additional Information:
Miscellaneous Information:
Problem did not exist in
1.43.41
. Problem started occurring with1.43.42
.https://github.com/brave/brave-core/commits/19d8fe92f1887055072d62f1e7e6546053964515
I was able to reproduce from source code (
git checkout -b bsc-troubleshooting v1.43.42
) and commenting out this line fixed the issue for me (I don't know why):https://github.com/brave/brave-core/blob/f54f6be60d18d8e9496c72c3a3afc974cbc784d4/components/brave_wallet/renderer/js_solana_provider.cc#L159-L161
The text was updated successfully, but these errors were encountered: