mozilla-b2g/gaia-email-libs-and-more — pull request #94 by asutherland (2012-12-02 21:13:05+00:00)
Title: Bug 815797 - [email/IMAP] IMAP probe error serverResponse checking assumes serverResponse is always present, breaks autoconfig in timeout case.

r? @mozsquib

https://bugzilla.mozilla.org/show_bug.cgi?id=815797

The unit test for the timeout-splosion fails without the patch, passes with it.

This patch also adds tests for the 2 gmail IMAP cases to the prober which is where they are most critical.