Closed
Bug 2092322
Opened 13 days ago
Closed 13 days ago
browser_necko_l10n.js reads the status panel before it shows the load's status
Categories
(Core :: Networking, task)
Core
Networking
Tracking
()
RESOLVED
FIXED
162 Branch
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: florian, Assigned: florian)
References
Details
Attachments
(1 external file)
netwerk/test/browser/browser_necko_l10n.js checks statuspanel-label as soon as its own progress listener sees Waiting for example.com…. StatusPanel only shows status messages after XULBrowserWindow has seen STATE_START, which comes from the content process. The parent's DNS and connect status messages can arrive before it. The panel is then still inactive and shows the previous load's label, so the test fails with got Connecting to example.com… (or an empty label).
This shows up mostly in the new mochitest-repeat jobs, on the test's second run.
The fix waits for the panel to become active before checking its label.
| Assignee | ||
Comment 1•13 days ago
|
||
Pushed by fqueze@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/54b47c7885bf
https://hg.mozilla.org/integration/autoland/rev/475ca9e6ac97
Wait for the status panel to show the load's status in browser_necko_l10n.js, r=necko-reviewers,valentin.
Comment 3•13 days ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 13 days ago
status-firefox162:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
Comment 4•13 days ago
|
||
| bugherder | ||
You need to log in
before you can comment on or make changes to this bug.
Description
•