In latest dev branch origin/tor-browser-60.8.0esr-9.0-1 the Firefox chrome debugger ( enabled in about:debugging -> Enable add-on debugging ) does not launch. When you attempt to launch it ( via Menu -> Web Developer -> Browser Toolbox OR via Ctrl+Shift+Alt+I key combo ) the tor-launcher dialog pops up claims that it cannot connect to Tor, and the permission dialog asking whether you want to allow the local debugger to connect never appears.
Building firefox with --disable-tor-launcher in your .mozconfig does allow the debugger to work.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
I thought this was going to be a blocker for me in doing #31286 (moved), but I discovered that since (most of) the code I'm dealing with is in about:preferences so the regular in-page debugging tools work fine so I'm not actively working on this.
I do not think Kathy and I will have time to work on this before our vacation next week. I did a little research and fixing this issue might be as simple adding a check for MOZ_BROWSER_TOOLBOX_PORT inside shouldStartAndOwnTor() (in src/modules/tl-util.jsm). That environment variable should only be present in the debugger process' environment:
https://searchfox.org/mozilla-esr68/source/devtools/client/framework/ToolboxProcess.jsm#258
I am not sure if more things need to be fixed though.
I agree. Just a tiny nit: please add the toolbox check after the skip launch check so that it a) matches the order in which you declared the constants and b) matches more likely the usage patterns of the env variables: I'd expect both to be low but the toolbox one still much lower.
Trac: Status: needs_review to needs_revision Keywords: TorBrowserTeam201909R deleted, TorBrowserTeam201909 added
I agree. Just a tiny nit: please add the toolbox check after the skip launch check so that it a) matches the order in which you declared the constants and b) matches more likely the usage patterns of the env variables: I'd expect both to be low but the toolbox one still much lower.
Actually, that's stupid and won't work. But swap the const declarations instead?