browser_onvisit_title_null_for_navigation.js fails when run twice in the same browser
Categories
(Toolkit :: Places, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: florian, Assigned: florian)
Details
Attachments
(1 external file)
toolkit/components/places/tests/browser/browser_onvisit_title_null_for_navigation.js fails on its second run in mochitest-browser-chrome-repeat jobs on all platforms: Should not have a title - "I am an empty page" == null, followed by a timeout.
The test never clears history. On a repeat run, empty_page.html is already stored with its title, so page-visited carries a lastKnownTitle and page-title-changed never fires.
Fix: clear history in a cleanup function, and remove the verify-standalone skip-if, since --verify now passes.
Test dashboard: https://tests.firefox.dev/test.html?test=toolkit/components/places/tests/browser/browser_onvisit_title_null_for_navigation.js
| Assignee | ||
Comment 1•18 days ago
|
||
When the test runs a second time in the same browser, the page is already in history with its title, so page-visited carries a lastKnownTitle and page-title-changed never fires.
Updated•16 days ago
|
Comment 3•15 days ago
|
||
| bugherder | ||
Updated•1 day ago
|
Description
•