WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
185984
Minor ApplicationCacheStorage clean up
https://bugs.webkit.org/show_bug.cgi?id=185984
Summary
Minor ApplicationCacheStorage clean up
Chris Dumez
Reported
2018-05-25 09:32:13 PDT
Minor ApplicationCacheStorage clean up.
Attachments
Patch
(15.45 KB, patch)
2018-05-25 09:36 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(17.23 KB, patch)
2018-05-25 10:36 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2018-05-25 09:36:20 PDT
Created
attachment 341294
[details]
Patch
youenn fablet
Comment 2
2018-05-25 09:53:34 PDT
Comment on
attachment 341294
[details]
Patch r = me as long as bots are happy. Some potential improvements below. View in context:
https://bugs.webkit.org/attachment.cgi?id=341294&action=review
> Source/WebCore/loader/appcache/ApplicationCacheStorage.cpp:1474 > +HashSet<RefPtr<SecurityOrigin>> ApplicationCacheStorage::originsWithCache()
Maybe HashSet<Ref<>>?
> Source/WebCore/loader/appcache/ApplicationCacheStorage.h:106 > + WEBCORE_EXPORT ApplicationCacheStorage(const String& cacheDirectory, const String& flatFileSubdirectoryName);
Could probably be String&&
> Source/WebCore/loader/appcache/ApplicationCacheStorage.h:110 > + bool getManifestURLs(Vector<URL>& urls);
Could be std::optional<Vector<>> manifestURLs()
> Source/WebCore/loader/appcache/ApplicationCacheStorage.h:145 > + int64_t m_maximumSize { noQuota() };
Could it be uint64_t?
> Source/WebCore/loader/appcache/ApplicationCacheStorage.h:148 > + int64_t m_defaultOriginQuota { noQuota() };
Ditto.
Chris Dumez
Comment 3
2018-05-25 10:36:42 PDT
Created
attachment 341298
[details]
Patch
WebKit Commit Bot
Comment 4
2018-05-25 11:40:33 PDT
Comment on
attachment 341298
[details]
Patch Clearing flags on attachment: 341298 Committed
r232192
: <
https://trac.webkit.org/changeset/232192
>
WebKit Commit Bot
Comment 5
2018-05-25 11:40:35 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 6
2018-05-25 11:41:22 PDT
<
rdar://problem/40560786
>
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