r=brade, r=mcs
This patch looks okay and it seems to work. Why did you need to add the following code?
{{{
if (domain === "") {
domain = "--unknown--";
}
}}}
Thanks for the review. Traditionally we have used "--unknown--" for the catchall domain (and SOCKS username). But for a chrome-initiated request, originAttributes.firstParty is an empty string. So this line ensures that request goes through the "--unknown--" circuit.
Thanks for the review. Traditionally we have used "--unknown--" for the catchall domain (and SOCKS username). But for a chrome-initiated request, originAttributes.firstParty is an empty string. So this line ensures that request goes through the "--unknown--" circuit.