Closed
Bug 460430
Opened 16 years ago
Closed 14 years ago
Cache directory choosing algorithm differs between debug and non-debug builds
Categories
(Core :: Networking: Cache, defect)
Core
Networking: Cache
Tracking
()
RESOLVED
FIXED
People
(Reporter: ehsan.akhgari, Unassigned)
References
()
Details
(Whiteboard: [fixed by bug 485230])
The cache service uses a slightly different algorithm to pick up the storage directory for the disk device in debug and non-debug builds. I'm not sure if any piece of code actually uses this distinction in debug vs. non-debug builds, but it can lead to hard to detect bugs if the developer tests his code in debug mode and tries to run it in non-debug mode. For an example, see the problem I faced which I blogged about here: <http://ehsanakhgari.org/blog/2008-10-17/testing-cache-service>.
Since the browser.cache.disk.parent_directory pref allows one to exactly specify the desired directory, I think this piece of debug-specific code should be removed from the cache service, and any possible callers which rely on this behavior need to be corrected.
Reporter | ||
Comment 1•14 years ago
|
||
This has been fixed by bug 485230.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Whiteboard: [fixed by bug 485230]
You need to log in
before you can comment on or make changes to this bug.
Description
•