WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
191423
Remove legacy storage tracker database file after
r237330
https://bugs.webkit.org/show_bug.cgi?id=191423
Summary
Remove legacy storage tracker database file after r237330
Sihui Liu
Reported
2018-11-08 09:25:05 PST
r237330
changed name of the storage tracker database file in WebKitLegacy, but I didn't remove the file with old name before using the new file.
Attachments
Patch
(1.50 KB, patch)
2018-11-08 09:39 PST
,
Sihui Liu
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Sihui Liu
Comment 1
2018-11-08 09:39:47 PST
Created
attachment 354245
[details]
Patch
Geoffrey Garen
Comment 2
2018-11-08 13:36:06 PST
Comment on
attachment 354245
[details]
Patch r=me
Chris Dumez
Comment 3
2018-11-09 09:27:26 PST
Comment on
attachment 354245
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=354245&action=review
> Source/WebKitLegacy/Storage/StorageTracker.cpp:84 > + FileSystem::deleteFile(FileSystem::pathByAppendingComponent(m_storageDirectoryPath, "StorageTracker.db"));
A comment explaining why we do did would have been nice. It does not seem obvious to me.
WebKit Commit Bot
Comment 4
2018-11-09 09:27:42 PST
Comment on
attachment 354245
[details]
Patch Clearing flags on attachment: 354245 Committed
r238036
: <
https://trac.webkit.org/changeset/238036
>
WebKit Commit Bot
Comment 5
2018-11-09 09:27:44 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 6
2018-11-09 09:28:20 PST
<
rdar://problem/45946046
>
Chris Dumez
Comment 7
2018-11-09 09:29:05 PST
Comment on
attachment 354245
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=354245&action=review
>> Source/WebKitLegacy/Storage/StorageTracker.cpp:84 >> + FileSystem::deleteFile(FileSystem::pathByAppendingComponent(m_storageDirectoryPath, "StorageTracker.db")); > > A comment explaining why we do did would have been nice. It does not seem obvious to me.
Also, since the second parameter constructs a String, "StorageTracker.db"_s would be better than "StorageTracker.db".
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