1. Go to File > New > Get a New Mail Account
2. Enter a name, and start the search
While the search occurs, the checkboxes to choose providers are still enabled, meaning the user can toggle them. This has the added defect of *re-enabling* the search button, which allows the user to trigger a second search in parallel to the first.
The UI should be locked down (with the exception of closing the window) while the search is in progress. So we should disable those checkboxes.
Created attachment 627325 [details] [diff] [review]
This patch relies on both the patches from bug 757823 and bug 758237 (in that order) being applied.
Comment on attachment 627325 [details] [diff] [review]
>+ // Our slow search has started. We have kSearchMSeconds milliseconds before
>+ // the search completes. Plenty of time to check that the right things are
>+ // disabled.
Should we also check that they get re-enabled once the search completes?
r=me either way.
Created attachment 627340 [details] [diff] [review]
Patch v2 (carrying over r+/ui-r+ from bwinton)
Good call - added those tests.
We want this to ship Account Provisioner.