WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
64431
Some ApplicationCache Origin Cleanup
https://bugs.webkit.org/show_bug.cgi?id=64431
Summary
Some ApplicationCache Origin Cleanup
Joseph Pecoraro
Reported
2011-07-12 21:48:49 PDT
- m_loadedSize is inaccurate and can just be replaced by ApplicationCache::estimatedSizeInStorage - m_availableSpaceInQuota can get out dated, and should just be recalculated at the start of downloads
Attachments
[PATCH] Some Cleanup
(5.44 KB, patch)
2011-07-12 22:02 PDT
,
Joseph Pecoraro
ap
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Joseph Pecoraro
Comment 1
2011-07-12 22:02:12 PDT
Created
attachment 100628
[details]
[PATCH] Some Cleanup Don't let the patch confuse you. I just changed the "if quota < m_loadedSize" check to use estimatedSizeInStorage and moved it down a few lines below the addResource call.
Joseph Pecoraro
Comment 2
2011-07-13 14:42:34 PDT
Landed in
r90947
<
http://trac.webkit.org/changeset/90947
>.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug