<div dir="ltr"><div class="gmail_extra">Hi Polly,<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 11, 2017 at 5:17 PM, Polly Shaw <span dir="ltr"><<a href="mailto:polly.shaw@gmail.com" target="_blank">polly.shaw@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>Hello,<br><br></div>I have been looking at bug <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=356831" target="_blank">356831</a>, which is about Firefox not querying DHCP when auto-detecting the web proxy, and have a draft patch for Windows. (An earlier comment on this bug suggested creating sub-bugs for each platform, and I think that will have to be done as the approach for Windows wouldn't translate to Linux, say.)<br><br></div>I have read the instructions in <a href="https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/How_to_Submit_a_Patch" target="_blank">https://developer.mozilla.org/<wbr>en-US/docs/Mozilla/Developer_<wbr>guide/How_to_Submit_a_Patch</a> but unfortunately I don't think I have the Bugzilla permissions to follow them properly because I don't seem to be able to assign the bug to myself or submit a comment with an attachment. I'm therefore sending the attachment here. Sorry for the nuisance.<br></div></div></div></div></div></blockquote><div><br></div><div>I just granted you the required permissions on Bugzilla.  Thanks for your interest in contributing and apologies for our cumbersome process!<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div></div>The approach I have tried follows the pattern of SystemProxySettings - I created an interface called nsIDHCPClient, implemented it for Windows, and injected the class into nsPACMan.<br><br></div>I'd really like some feedback on this and guidance on testing. I haven't written any tests yet. Maybe I should fake out the behaviour of the nsIDHCPClient and see whether nsPACMan behaves as expected?<br></div></div></div></blockquote><div><br></div><div>I've CCed Patrick and Jason from the networking team here, they should be able to either help you directly or find the right people to do that.<br></div><div> </div><div>Cheers,<br></div></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Ehsan<br></div></div>
</div></div>