question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`window.phantom` being defined breaks several websites

See original GitHub issue

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 window

Steps to Reproduce

  1. Visit https://accountaccess.edwardjones.com/ca-logon/logon.action
  2. Put in username braveuser
  3. Put in password AbbbAAbbcdD11
  4. Click Log In button

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:

  • Can you reproduce this issue with the current release? no
  • Can you reproduce this issue with the beta channel? yes
  • Can you reproduce this issue with the nightly channel? yes

Other Additional Information:

  • Does the issue resolve itself when disabling Brave Shields? no
  • Does the issue resolve itself when disabling Brave Rewards? no
  • Is the issue reproducible on the latest version of Chrome? no

Miscellaneous Information:

Problem did not exist in 1.43.41. Problem started occurring with 1.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

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
snowboundcommented, Aug 1, 2022

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.

1reaction
darkdhcommented, Jul 27, 2022

This can also happen if you install and setup Phantom extension using Chrome. The website will give the exactly same error because it sees window.phantom disregarding who inserted it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

phantomjs not waiting for "full" page load - Stack Overflow
The problem is many web-sites are loading their minor content async and that's why Phantom's onLoadFinished callback (analogue for onLoad in HTML) fired...
Read more >
Unexplained Windows or software behavior may be caused ...
This issue may occur when deceptive software, such as spyware that is known as "grayware," is installed on your computer. This kind of...
Read more >
Removing Phantom Excel Links - The Marquee Group
To remove Phantom Links from a workbook, first check to make sure that there are not any non-phantom links in the file.
Read more >
46852 - Remove phantom tabs - chromium - Monorail
I personally "phantom" a pinned tab when I want to free some resources, meanwhile keep the tab on the tab bar until my...
Read more >
Phantom Testing: Mammography (Revised 11-09-2022)
Two types of phantoms are available: the small ACR Mammography Phantom and the ACR Digital Mammography Phantom.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found