test_net_failedtoprocess.html times out when run twice in the same browser
Categories
(Core :: Graphics: ImageLib, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox163 | --- | fixed |
People
(Reporter: florian, Assigned: florian)
References
Details
Attachments
(1 external file)
When image/test/mochitest/test_net_failedtoprocess.html runs twice in a row (the upcoming mochitest-plain-repeat jobs), the second run times out and then reports "No checks actually run".
If the decode error for invalid.jpg is only found after the load completed, the errored image stays in the image cache. The second run gets it from the cache without decoding it, so net:failed-to-process-uri-content never fires.
The patch clears the image cache in a cleanup function, as test_cache_eviction.html already does.
| Assignee | ||
Comment 1•7 days ago
|
||
When the decode error for invalid.jpg is only found after the load completed, the errored image stays in the image cache, and a second run gets it from there without decoding it, so net:failed-to-process-uri-content never fires and the test times out.
Comment 3•7 days ago
|
||
| bugherder | ||
Description
•