browser_star_hsts.js times out when run twice in the same browser
Categories
(Firefox :: Bookmarks & History, task, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: florian, Assigned: florian)
References
Details
Attachments
(1 external file)
browser_star_hsts.js times out on its second run in the upcoming mochitest-browser-chrome-repeat jobs, on all platforms.
The edit bookmark panel opened by clicking the star only saves the new bookmark when it hides (StarUI._handlePopupHiddenEvent). The test never closes the panel. Its cleanup function calls PlacesUtils.bookmarks.eraseEverything() and only then removes the tab, which hides the panel and saves the bookmark. On the second run the page is already bookmarked, and promiseStarState(STATUS_UNSTARRED) waits forever.
The fix hides the panel at the end of the test and waits for the bookmark-added notification, so the cleanup erases the bookmark.
| Assignee | ||
Comment 1•15 days ago
|
||
The edit bookmark panel only saves a new bookmark when it hides, which happened when the cleanup function removed the tab, after it had erased all bookmarks. The bookmark left behind kept the star starred on a second run of the test.
Comment 2•15 days ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox::Bookmarks & History' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•11 days ago
|
Updated•22 hours ago
|
Description
•