-
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
"Uncaught ReferenceError: brave_new_tab is not defined" when opening new tab #2848
Comments
Happends to me as well
And the error can be spotted on │Mar 12 07:30:08 Homestation org.gnome.SettingsDaemon.MediaKeys-pantheon.desktop[1416]: [1944:1944:0312/073008.385805:ERROR:CONSOLE(1)] "Uncaught ReferenceError: brave_new_tab is not defined", source: chrome://newtab/ (1) │
│Mar 12 07:30:10 Homestation org.gnome.SettingsDaemon.MediaKeys-pantheon.desktop[1416]: [1944:1944:0312/073010.037016:ERROR:CONSOLE(1)] "Active tab not found", source: chrome-extension://mnojpmjdmbbfmejpflffifhffcmidifd/js/background.bundle.js (1) │
│Mar 12 07:30:10 Homestation org.gnome.SettingsDaemon.MediaKeys-pantheon.desktop[1416]: [1944:1944:0312/073010.041347:ERROR:CONSOLE(1)] "Active tab not found", source: chrome-extension://mnojpmjdmbbfmejpflffifhffcmidifd/js/background.bundle.js (1) |
Happens to me as well. [delete this: I believe it is related to a chrome extension called "close duplicated tabs" Not true, it happens with the extension removed.] The result of this error in my case is that all open tabs are lost and history cannot be recovered. |
Verification passed on
Used test plan from the description and brave/brave-core#2831 Verification passed on
Verified passed with
|
Description
The following error will be raised on opening a new tab:
Steps to Reproduce
Uncaught ReferenceError: brave_new_tab is not defined
is loggedActual result:
Error are raised:
Expected result:
No error raised
Reproduces how often:
Every time
Brave version (brave://version info)
Reproducible on current release:
Does it reproduce on brave-browser dev/beta builds?
not sure...
Website problems only:
Does the issue resolve itself when disabling Brave Shields?
since it's on a new tab, Brave Shields is not active yet..
Is the issue reproducible on the latest version of Chrome?
nope, since it's Brave specific code
Additional Information
I think the code which raised are on this line: https://github.com/brave/brave-core/blob/0.58.x/browser/ui/webui/brave_new_tab_ui.cc#L114 .. i'm cloning the repo and will try to investigate, but not really sure on where to start.. 😅
The text was updated successfully, but these errors were encountered: