Bug 2010968: Dictionary cleanup, and handle errors better r=#necko-reviewers!
ClosedPublic

Authored by jesup on Jan 21 2026, 9:36 PM.
Referenced Files
Unknown Object (File)
Aug 20 2026, 7:29 PM
Unknown Object (File)
Aug 11 2026, 2:40 PM
Unknown Object (File)
Aug 8 2026, 12:28 PM
Unknown Object (File)
Jul 26 2026, 10:24 PM
Unknown Object (File)
Jul 23 2026, 11:32 PM
Unknown Object (File)
Jul 21 2026, 10:21 AM
Unknown Object (File)
Jul 20 2026, 6:11 AM
Unknown Object (File)
Jul 19 2026, 6:11 AM

Details

Summary

In particular, if we Suspend for 5+ seconds and timeout

Diff Detail

Event Timeline

phab-bot changed the visibility from "Custom Policy" to "Public (No Login Required)".
phab-bot changed the edit policy from "Custom Policy" to "Restricted Project (Project)".
phab-bot removed a project: secure-revision.
valentin added a subscriber: valentin.
valentin added inline comments.
netwerk/cache2/CacheEntry.cpp
734 ↗(On Diff #1189156)

I think the cacheEntry changes belong in D279945.

netwerk/cache2/Dictionary.cpp
558–559

Since we're refactoring this, maybe we can do:

auto cleanup = MakeScopeExit([&] { CleanupOnCacheData(result); mStopReceived = true; });
if (NS_FAILED(rv)) { return rv; }
...
if (mHash.IsEmpty()) return NS_OK;
... and so on

This revision is now accepted and ready to land.Jan 22 2026, 11:30 AM

The analysis task source-test-mozlint-rejected-words failed, but we could not detect any defect.
Please check this task manually.

The analysis task source-test-clang-format failed, but we could not detect any defect.
Please check this task manually.

The analysis task source-test-mozlint-clang-format failed, but we could not detect any defect.
Please check this task manually.

The analysis task source-test-mozlint-header-guards failed, but we could not detect any defect.
Please check this task manually.

The analysis task source-test-clang-external failed, but we could not detect any defect.
Please check this task manually.

The analysis task source-test-mozlint-mingw-cap failed, but we could not detect any defect.
Please check this task manually.

The analysis task source-test-mozlint-eslint failed, but we could not detect any defect.
Please check this task manually.


If you see a problem in this automated review, please report it here.