Closed Bug 434205 Opened 16 years ago Closed 14 years ago

Measure of offline cache is incorrect

Categories

(Firefox :: General, defect)

3.0 Branch
x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: nico, Unassigned)

References

()

Details

(Whiteboard: [CLOSEME 2010-09-15])

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9pre) Gecko/2008050105 Minefield/3.0pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9pre) Gecko/2008050105 Minefield/3.0pre

Filled offline cache on http://www.campd.org/stuff/tests/offline/offline2.html according to https://litmus.mozilla.org/show_test.cgi?id=5216. The page told me that it exceeded the limit, but about:cache?device=offline showed me:

Maximum storage size: 	512000 KiB
Storage in use: 	16 KiB

And this with a limit of 50MB set in the options...

Reproducible: Didn't try

Steps to Reproduce:
1. Open http://www.campd.org/stuff/tests/offline/offline2.html and fill the cache
2. Watch the amount of used space on about:cache?device=offline growing - or not, as in my case


Expected Results:  
1) Limit should be 50 MB = 51200KiB
2) Used space should be larger than 16KiB
Confirm on Vista:

Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9pre) Gecko/2008051706 Minefield/3.0pre

OS-->All

Does this mean the offline cache wont work for more than 16KiB of storage... if so, this should probably be a blocker...
Is there anyone official looking at this to confirm this bug?
The tracking bug for offline cache problems is #216490, set this as a blocker of that bug.

BTW I retried the test recently and it worked fine, i.e. the cache stored 50mb of data, although the about:cache page doesn't reflect this, the network settings dialog does, and the test case doesn't include checking the about:cache page (although maybe it should). If it doesn't work for you try it in safe mode http://kb.mozillazine.org/Safe_Mode_(Firefox).

Also it might be important to note that the actual data being written is a repetitive string which may be getting condensed when actually written to file but displayed 'as if' 50mb were actually written.
In the settings, I see that 50.0MB are saved. But even in safe mode, about:cache shows wrong data. So I'll add this to #216490.
Blocks: 216490
Interesting: The options show the amount for the Disk Cache, where "Offline Cache" is written to. Shouldnt be this way.
Severity: minor → major
Reporter, are you still seeing this issue with Firefox 3.6.x or later in safe mode? If not, please close. These links can help you in your testing.
http://support.mozilla.com/kb/Safe+Mode
http://support.mozilla.com/kb/Managing+profiles
Whiteboard: [CLOSEME 2010-09-15]
Version: unspecified → 3.0 Branch
If you provide me an URL to test this, I'll have another look at it.
No reply, INCOMPLETE. Please retest with Firefox 3.6.10 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INCOMPLETE
Once more: if you provide me with an URL to test, I'll do another test. The test in Litmus can no longer be performed as the page that should save huge amounts of data no longer exists.
You need to log in before you can comment on or make changes to this bug.