WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
142105
Add a "block-cookies" rule to the user content filter
https://bugs.webkit.org/show_bug.cgi?id=142105
Summary
Add a "block-cookies" rule to the user content filter
Brady Eidson
Reported
2015-02-27 14:31:32 PST
Add a "block-cookies" rule to the user content filter
Attachments
Patch v1
(13.22 KB, patch)
2015-02-27 14:33 PST
,
Brady Eidson
achristensen
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Brady Eidson
Comment 1
2015-02-27 14:33:02 PST
Created
attachment 247553
[details]
Patch v1
Alex Christensen
Comment 2
2015-02-27 14:42:53 PST
Comment on
attachment 247553
[details]
Patch v1 View in context:
https://bugs.webkit.org/attachment.cgi?id=247553&action=review
This seems ok, except the ContentFilterAction enum, which could evolve into something completely different. I have a few questions, though:
> Source/WebCore/contentextensions/ContentExtensionsManager.cpp:101 > else if (actionType != "block" && actionType != "") {
I think this should just be else.
> Source/WebCore/page/UserContentController.h:52 > +enum class ContentFilterAction {
This will eventually be an index into a data structure I'll make.
> Source/WebCore/page/UserContentController.h:53 > + Load,
I think Load should just be the absence of Block in the returned vector of actionsForURL
> Source/WebCore/page/UserContentController.h:94 > + ContentFilterAction actionForURL(const URL&);
Will there only be one? Should we return a vector of actions?
Alex Christensen
Comment 3
2015-02-27 14:48:57 PST
Comment on
attachment 247553
[details]
Patch v1 Ok. We'll change these things later.
Brady Eidson
Comment 4
2015-02-27 14:50:45 PST
http://trac.webkit.org/changeset/180783
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