browser_bug420605.js and browser_bug503832.js fail when run twice in the same profile
Categories
(Core :: DOM: Navigation, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: florian, Assigned: florian)
References
Details
Attachments
(1 external file)
docshell/test/browser/browser_bug420605.js and docshell/test/browser/browser_bug503832.js both start by asserting that their test page and its #firefox fragment URL are not in history yet. They then visit both URLs but never remove the visits. So a second run in the same profile fails with "The test page must not have been visited already.", and this will show in the upcoming mochitest-repeat jobs. This is also why both tests were skipped on verify-standalone.
The fix clears history in a cleanup function in both tests and removes the verify-standalone skip-ifs.
| Assignee | ||
Comment 1•13 days ago
|
||
Both tests assert that their pages are not in history yet, but left the visits they recorded behind, so a second run in the same profile failed. This also lets them run in verify-standalone again.
Comment 3•12 days ago
|
||
| bugherder | ||
Comment 4•12 days ago
|
||
| bugherder | ||
Description
•