Skip to content
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

Brave-specific JS errors appearing on brave://adblock #5182

Closed
pes10k opened this issue Jul 8, 2019 · 4 comments
Closed

Brave-specific JS errors appearing on brave://adblock #5182

pes10k opened this issue Jul 8, 2019 · 4 comments
Labels
closed/duplicate Issue has already been reported dev-concern priority/P5 Not scheduled. Don't anticipate work on this any time soon.

Comments

@pes10k
Copy link
Contributor

pes10k commented Jul 8, 2019

Error:

[Deprecation] HTML Imports is deprecated and will be removed in M73, around March 2019. Please use ES modules instead. See https://www.chromestatus.com/features/5144752345317376 for more details.
VM14:1 Uncaught ReferenceError: brave_new_tab is not defined
    at <anonymous>:1:1
VM15:1 Uncaught ReferenceError: brave_adblock is not defined
    at <anonymous>:1:1

Doesn't seem to happen on reload, only on first open. Doesn't seem to break things, page seems correct, but probably not ideal ;)

@bbondy bbondy added dev-concern priority/P4 Planned work. We expect to get to it "soon". labels Jul 8, 2019
@pes10k
Copy link
Contributor Author

pes10k commented Jul 9, 2019

@bbondy If you can point me to where this is implemented in the browser, im happy to give it a go, while Im waiting for PageGraph builds to complete…

Also, if its not a huge additional lift, i could also work on making brave://adblock styled like brave://settings/ (if someone could hand hold me on the basics, assuming its mostly just getting the markup / styles correct…)

@dead-claudia
Copy link

I see this also when opening a new tab. I decided to take a look at the source in both GitHub and in the devtools, and I found three culprits in a very small dependency tree:

Chrome has a bug on this related to this, closed as a duplicate of this bug, and they are almost certainly blocked on that bug.

@bsclifton
Copy link
Member

bsclifton commented Mar 30, 2020

Still happens on latest, just a different date/Chromium milestone 😂

[Deprecation] HTML Imports is deprecated and will be removed in M80, around February 2020. Please use ES modules instead. See https://www.chromestatus.com/features/5144752345317376 and https://developers.google.com/web/updates/2019/07/web-components-time-to-upgrade for more details.

Shouldn't be affecting the page

@bsclifton bsclifton added priority/P5 Not scheduled. Don't anticipate work on this any time soon. and removed priority/P4 Planned work. We expect to get to it "soon". labels Mar 30, 2020
@antonok-edm
Copy link
Collaborator

I'm no longer seeing this error. I do see a separate issue, but I'll close this one as it should have been resolved already (we are long past the deprecation date).

@antonok-edm antonok-edm added this to the Closed / Dupe / Invalid milestone Mar 24, 2021
@antonok-edm antonok-edm added the closed/duplicate Issue has already been reported label Mar 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed/duplicate Issue has already been reported dev-concern priority/P5 Not scheduled. Don't anticipate work on this any time soon.
Projects
None yet
Development

No branches or pull requests

5 participants