OpenPGP Key Manager status notice about loading keys doesn't disappear
Categories
(MailNews Core :: Security: OpenPGP, defect)
Tracking
(thunderbird_esr102 unaffected)
| Tracking | Status | |
|---|---|---|
| thunderbird_esr102 | --- | unaffected |
People
(Reporter: KaiE, Assigned: KaiE)
Details
(Keywords: regression)
Attachments
(1 file)
This is a regression in comm-central, not seen in current beta.
Open OpenPGP key manager.
The status text in the bottom area remains at "loading keys, please wait".
Expected: The text should disappear.
| Assignee | ||
Comment 1•2 years ago
|
||
It looks like there is a race.
The loading code sets the statusText using document.l10n.setAttributes - which is probably async.
Later, after loading, the text is cleared by using a direct value assignment.
It looks like clearing happens quicker than the l10n code.
I've tried to make it consistent, by also using document.l10n.setAttributes - but I wasn't able to define an empty string in fluent.
It seems the easiest fix to avoid the race is by using a sync call for setting the initial message.
| Assignee | ||
Comment 2•2 years ago
|
||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/94ae950df269
Avoid statusText race in OpenPGP key manager load. r=mkmelin
Description
•