Callback during verifyLogon() may throw exception into C++ Gecko
Categories
(Thunderbird :: Account Manager, defect)
Tracking
(thunderbird_esr78 wontfix)
Tracking | Status | |
---|---|---|
thunderbird_esr78 | --- | wontfix |
People
(Reporter: david.ward, Assigned: david.ward)
Details
Attachments
(1 file)
Noticed by :BenB during a code review involving changes to verifyLogin():
This function is also called from tryNextLogon(), where it's called twice. This caller has no logger attached, and worse, it doesn't even have a try/catch. It would throw into onStopRunningUrl(), which throws the exception into C++ Gecko. Not good.
Filing this as a separate bug (partly because the revised patch is no longer related to the original bug).
Assignee | ||
Comment 1•4 years ago
|
||
Also, simplify the logging of exceptions caught during verifyConfig().
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Comment 2•4 years ago
|
||
Thank you!
r=BenB
Updated•4 years ago
|
Comment 3•4 years ago
|
||
Once you completed testing (see Phab), you can set keyword checkin-needed
.
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/18131ca2cd00
Catch exception in OnStopRunningUrl() callback during verifyLogon(). r=BenB,mkmelin
Updated•4 years ago
|
Description
•