Exchange AutoDiscover: Fix code to show username field
Categories
(Thunderbird :: Account Manager, defect)
Tracking
(thunderbird_esr128 wontfix, thunderbird_esr140 affected, thunderbird140 affected)
People
(Reporter: BenB, Assigned: BenB)
Details
Attachments
(1 file, 1 obsolete file)
(Re-filing the confusing bug 1907443)
In account setup, with Exchange AutoDiscover, we show a username field, but only when necessary, that is, when the server returns a HTTP 401.
That old code is racy. Only by coincidence, in TB 128, that race does not actually happen, because the new OAuth2 prompt during AutoDiscover waits for user input and blocked the racing function.
This is a fix that makes this code cleaner, more reliable, and not racy anymore.
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
Fix: All of https://phabricator.services.mozilla.com/D216824 , apart from the last hunk. We will re-attach it here as minimal patch.
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 2•1 year ago
|
||
In account setup, with Exchange AutoDiscover, we show a username field, but only when necessary, that is, when the server returns a HTTP 401. That old code is racy. Only by coincidence, in TB 128, that race does not actually happen, because the new OAuth2 prompt during AutoDiscover waits for user input and blocked the racing function.
This is a fix that makes this code cleaner, more reliable, not racy anymore, and also more readable.
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 3•1 year ago
|
||
Updated•1 year ago
|
Updated•1 year ago
|
| Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/44891cb19390
Exchange AutoDiscover: Fix code to show username field. r=Neil,babolivier,vineet
Description
•