Bug 142060

Summary: Add API to remove all website data for the given data records
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: New BugsAssignee: Anders Carlsson <andersca>
Status: RESOLVED FIXED    
Severity: Normal CC: bdakin, commit-queue, japhet
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch bdakin: review+

Description Anders Carlsson 2015-02-26 14:56:35 PST
Add API to remove all website data for the given data records
Comment 1 Anders Carlsson 2015-02-26 15:19:52 PST
Created attachment 247453 [details]
Patch
Comment 2 WebKit Commit Bot 2015-02-26 15:23:29 PST
Attachment 247453 [details] did not pass style-queue:


ERROR: Source/WebKit2/UIProcess/WebsiteData/WebsiteDataStore.cpp:334:  Extra space before ( in function call  [whitespace/parens] [4]
ERROR: Source/WebKit2/UIProcess/WebsiteData/WebsiteDataStore.cpp:337:  Extra space before ( in function call  [whitespace/parens] [4]
ERROR: Source/WebKit2/UIProcess/WebsiteData/WebsiteDataStore.cpp:362:  Extra space before ( in function call  [whitespace/parens] [4]
ERROR: Source/WebKit2/UIProcess/WebsiteData/WebsiteDataStore.h:62:  Extra space before ( in function call  [whitespace/parens] [4]
Total errors found: 4 in 9 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Tim Horton 2015-02-26 15:31:41 PST
Comment on attachment 247453 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=247453&action=review

> Source/WebCore/ChangeLog:10
> +        New function that removes resources all resources that match the set of origins in a given session.

Some kind of typo in the middle of this sentence.

> Source/WebKit2/UIProcess/API/Cocoa/_WKWebsiteDataStore.mm:108
> +

no blank line here
Comment 4 Beth Dakin 2015-02-26 15:32:23 PST
Comment on attachment 247453 [details]
Patch

Listen to thorton!!!
Comment 5 Anders Carlsson 2015-02-26 15:34:33 PST
Committed r180706: <http://trac.webkit.org/changeset/180706>