Closed Bug 2092319 Opened 16 days ago Closed 16 days ago

browser_test_favicon.js times out when run twice in the same browser

Categories

(Core :: Networking, task)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: florian, Assigned: florian)

References

Details

Attachments

(1 external file)

netwerk/test/browser/browser_test_favicon.js times out on its second run in the same browser (mochitest-browser-chrome-repeat jobs, --verify).

FaviconLoader loads icons with LOAD_FROM_CACHE | VALIDATE_NEVER, so on the second run the icon comes from the HTTP cache and its Set-Cookie is never processed. The cookie-rejected notification the test waits for never fires.

The test should clear the HTTP cache in its cleanup.

The favicon is loaded from the cache on a second run in the same browser, so its Set-Cookie is never processed and the cookie-rejected notification the test waits for never comes.

Pushed by fqueze@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/e19da15c9d7f https://hg.mozilla.org/integration/autoland/rev/e5f685d483fe Clear the HTTP cache after browser_test_favicon.js so it passes when run again, r=necko-reviewers,valentin.
Blocks: 2092566
Status: ASSIGNED → RESOLVED
Closed: 16 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
QA Whiteboard: [qa-triage-done-c163/b162]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: