Brave-browser: Chrome (Brave) DevTools Sources Panel missing JS colors and tooltips.

Created on 12 Dec 2019  路  5Comments  路  Source: brave/brave-browser

Suddenly my Brave app's Dev Tools Sources Panel is missing colors and tooltips for JavaScript files.

Here's what I see in Brave:

Screen Shot 2019-12-11 at 18 07 47

Here's that same file JS file on the same breakpoint in Chrome, with JS colors a tooltip by hover of a variable:

Screen Shot 2019-12-11 at 18 07 36

This appears to be occurring for any JS file on any website. I've tried quitting and relaunching Brave app. I've poked through the DevTools controls and prefs and online docs. What could be causing this, how might I fix it?

  • MacOS Catalina 10.15.1 (19B88)
  • Brave Version 1.1.20 Chromium: 79.0.3945.74 (Official Build) (64-bit)
  • Chrome Version 79.0.3945.79 (Official Build) (64-bit)
closeduplicate featurdev-tools

Most helpful comment

@bsclifton It does fix the color problem but it doesn't fix the tooltip problem. Looks like I have to use an other browser until February 馃槥

EDIT - Looks like the bug is in Chromium:
https://bugs.chromium.org/p/chromium/issues/detail?id=1033022
https://bugs.chromium.org/p/chromium/issues/detail?id=1021473

All 5 comments

@jtheletter I think this may be somewhat expected; the fix is in 1.3 (Developer edition) and later. You can try that version quickly to see if it works:
https://brave.com/download-dev/

Once downloaded, you can go to brave://settings/privacy and enable Remote Debugging. This is something we turned off to block external requests from being made. I suspect this is what is broken for you

If that DOES fix the issue, 1.3 will be shipping to Release channel on February 4th. Please let us know 馃槃

@bsclifton It does fix the color problem but it doesn't fix the tooltip problem. Looks like I have to use an other browser until February 馃槥

EDIT - Looks like the bug is in Chromium:
https://bugs.chromium.org/p/chromium/issues/detail?id=1033022
https://bugs.chromium.org/p/chromium/issues/detail?id=1021473

This is something we turned off to block external requests from being made.

@bsclifton: Even if I view a static and local (from file:///) website? Why block external requests with no option to allow them?

I've now downloaded and checked on the dev version you linked. Enabling "remote debugging" in app prefs and opening a new window restores the color coding and hover tooltips.

Glad to hear this should be restored. Would rather not wait eight weeks. Thank you.

@rebron do you think we can expedite the Remote Debugging fix (land in 1.2, which is being released January 6th)?

@SirKlaus thanks for linking to the Chromium bugs - I starred those and will follow progress 馃槃

Closing as a dupe of https://github.com/brave/brave-browser/issues/5618

I created a PR now to uplift this to our Beta branch (1.2, shipping January 6th) since there have been a recent bump in requests:
https://github.com/brave/brave-core/pull/4228

Was this page helpful?
0 / 5 - 0 ratings