Here's a proposed fix. It does the same thing as the previous t2.diff that reporter Richard Leger tested via a "try" build. Its difference is that it now passes the imap related xpcshell-tests, unlike t2.diff (now mark obsolete). Patch discovery-fix.diff still contains printf's and other stuff that needs to be cleaned up before a formal patch for review is submitted. Here's the "try" build for patch discovery-fix.diff. Some tests still show failures but they don't seem to be caused by this patch, AFAIKT: [Try build](https://treeherder.mozilla.org/jobs?repo=try-comm-central&revision=931fab37940dbaac44ac860152d92ca3089f3cb7)
Bug 163964 Comment 52 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Here's a proposed fix. It does the same thing as the previous t2.diff that reporter Richard Leger tested via a "try" build. Its difference is that it now passes the imap related xpcshell-tests, unlike t2.diff (now mark obsolete). Patch discovery-fix.diff still contains printf's and other stuff that needs to be cleaned up before a formal patch for review is submitted. Here's the "try" build for patch discovery-fix.diff. Some tests still show failures but they don't seem to be caused by this patch, AFAIKT: [Try build](https://treeherder.mozilla.org/jobs?repo=try-comm-central&revision=931fab37940dbaac44ac860152d92ca3089f3cb7) **Edit, P/S:** Comment 46 has a reasonable explanation of the fix.