Closed
Bug 2091989
Opened 15 days ago
Closed 11 days ago
browser_switchToTab_closes_newtab.js leaves history behind, making browser_switchToTab_fullUrl_repeatedKeydown.js time out in repeat jobs
Categories
(Firefox :: Address Bar, task)
Firefox
Address Bar
Tracking
()
RESOLVED
FIXED
162 Branch
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: florian, Assigned: florian)
References
Details
Attachments
(1 external file)
browser_switchToTab_closes_newtab.js visits dummy_page.html and never clears history. When it runs twice in a row, as the upcoming mochitest repeat jobs do, the next test, browser_switchToTab_fullUrl_repeatedKeydown.js, sees the twice-visited page rank above the switch-to-tab result. Its ArrowDown+Enter then loads that page in the current tab instead of switching, and it times out waiting for TabSelect/TabClose.
The fix is to clear history in a cleanup function of browser_switchToTab_closes_newtab.js.
| Assignee | ||
Comment 1•15 days ago
|
||
The dummy_page.html visit it leaves behind outranks the switch-to-tab result in browser_switchToTab_fullUrl_repeatedKeydown.js once the test has run twice, so that test opens the history result and times out waiting for the tab switch.
Pushed by fqueze@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/171622d52ef9
https://hg.mozilla.org/integration/autoland/rev/b99df3041100
Clear history after browser_switchToTab_closes_newtab.js, r=urlbar-reviewers,Standard8.
Comment 3•11 days ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 11 days ago
status-firefox162:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
Updated•11 days ago
|
QA Whiteboard: [search][qa-triage-done-c162/b161]
You need to log in
before you can comment on or make changes to this bug.
Description
•