Multiprocess Windows indicates 1/1 Unknown status in about:support
Categories
(Firefox :: General, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox64 | --- | unaffected |
firefox65 | --- | unaffected |
firefox66 | --- | fixed |
firefox67 | --- | fixed |
People
(Reporter: alice0775, Assigned: jaws)
References
Details
(Keywords: regression, Whiteboard: [qa-66b-p2])
Attachments
(3 files, 1 obsolete file)
(deleted),
image/png
|
Details | |
(deleted),
image/png
|
Details | |
(deleted),
text/x-phabricator-request
|
lizzard
:
approval-mozilla-beta+
|
Details |
Comment 1•6 years ago
|
||
Reporter | ||
Comment 2•6 years ago
|
||
Comment 3•6 years ago
|
||
Reporter | ||
Comment 4•6 years ago
|
||
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Comment 5•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Comment 6•6 years ago
|
||
Comment 7•6 years ago
|
||
Assignee | ||
Comment 8•6 years ago
|
||
Comment hidden (typo) |
Comment hidden (typo) |
Comment hidden (typo) |
Assignee | ||
Comment 12•6 years ago
|
||
This is happening because DocumentL10n::TriggerInitialDocumentTranslation() calls mDOMLocalization->ConnectRoot(), which sets up a MutationObserver, then immediately afterwards calls mDOMLocalization->TranslateRoots().
TranslateRoots is an async method, so there is a potential that the script on the page will set localization IDs and attributes while the initial TranslateRoots is still working.
One way to solve this would be to wait for TranslateRoots to finish before setting up the MutationObserver, though that could introduce other bugs where l10n IDs and attributes are not updated correctly.
The way that I believe this bug can be fixed is to abort translation of fragments in TranslateRoots if the root was updated via the mutationObserver.
I'll try to put together a patch.
Updated•6 years ago
|
Assignee | ||
Comment 13•6 years ago
|
||
Assignee | ||
Comment 14•6 years ago
|
||
(In reply to Jared Wein [:jaws] (Regression Engineering Owner for 65) (please needinfo? me) from comment #13)
By delaying the mutation updates until after l10n-ready this bug is fixed,
but there is a significant delay before many of the strings are updated
(about 3s).
This delay is only noticeable if about:support is set as the homepage and during startup. Loading this page or about:preferences after startup doesn't show this delay.
Assignee | ||
Comment 16•6 years ago
|
||
With the patch from bug 1518252 applied I can no longer reproduce this.
Comment 17•6 years ago
|
||
My guess is that its because we removed a forced microtask alignment between when the translation happens and when mutations are being observed.
Can someone test if this also works well when you use a langpack? If so, I believe we can close this bug.
Assignee | ||
Comment 18•6 years ago
|
||
I can still reproduce this on English with about:support as my home page but only with debug builds.
Updated•6 years ago
|
Assignee | ||
Comment 19•6 years ago
|
||
Assignee | ||
Comment 20•6 years ago
|
||
(In reply to Jared Wein [:jaws] (Regression Engineering Owner for 65) (please needinfo? me) from comment #18)
I can still reproduce this on English with about:support as my home page but only with debug builds.
I now can't reproduce it anymore, maybe when I saw it yesterday it was not actually showing "1/1 Unknown Status" but just "Unknown Status" while loading.
Comment 21•6 years ago
|
||
Comment 22•6 years ago
|
||
bugherder |
Comment 23•6 years ago
|
||
Do we want to uplift this, or is bug 1518252 in 66 enough?
Comment 24•6 years ago
|
||
Comment on attachment 9039837 [details]
Bug 1517410 - Don't show the unknown multiprocess status string while the page is loading. r?Gijs
Beta/Release Uplift Approval Request
Feature/Bug causing the regression
User impact if declined
Confusing state of multiprocess support in about:support
Is this code covered by automated tests?
No
Has the fix been verified in Nightly?
No
Needs manual test from QE?
No
If yes, steps to reproduce
List of other uplifts needed
n/a
Risk to taking this patch
Low
Why is the change risky/not risky? (and alternatives if risky)
Just removes a single translation attribute from the markup so we'll only set it at runtime
String changes made/needed
n/a
Comment on attachment 9039837 [details]
Bug 1517410 - Don't show the unknown multiprocess status string while the page is loading. r?Gijs
Fix for l10n regression in about:support; OK to uplift for beta 5.
Comment 26•6 years ago
|
||
I have reproduced this bug with Nightly 66.0a1 (2019-01-02) on Windows 10, 64 Bit and the fix of the bug is verified with latest Nightly 67.0a1!
Build ID : 20190202213603
User Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0
Comment 27•6 years ago
|
||
bugherder uplift |
Updated•6 years ago
|
Description
•