mcs and brade noticed a crash in the circuit display. Also first party key is now part of origin attributes, so that probably needs to operate differently as well.
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.
Kathy and I reviewed the code and ran it with a browser built from your tor-browser.git 20680+4 branch. Circuit display seems to work, but we see quite a few messages like this:
Torbutton INFO: Failed to get credentials or browser from channel
We modified the code to log the exception and chan.URI.spec. Here is an example:
[Exception... "Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsIInterfaceRequestor.getInterface]" nsresult: "0x80004002 (NS_NOINTERFACE)" location: "JS frame :: chrome://torbutton/content/tor-circuit-display.js :: browserForChannel :: line 163" data: no]
uri: https://check.torproject.org/torcheck/img/tor-on.png
The above error occurred while loading https://check.torproject.org/?lang=en_US; we also see similar messages for many "internal" fetches such as OSCP which is not as surprising.
We should figure out a way to suppress the logging for errors that are expected. When we do log, we may want to include the exception as well as chan.URI.spec to make debugging easier.
[snip]
We should figure out a way to suppress the logging for errors that are expected. When we do log, we may want to include the exception as well as chan.URI.spec to make debugging easier.
Thanks for reviewing this and you make very good points. Here's my new version, applying your suggestions:
Looking over that patch it seems to me we only care about HTTP traffic nowadays at least if the circuit display concerned. Am I correct? While I am not a big fan of FTP, showing the corresponding circuit still works in current Tor Browser versions.