WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 205963
Resource Load Statistics: Flip experimental cookie blocking setting from an enable to a disable
https://bugs.webkit.org/show_bug.cgi?id=205963
Summary
Resource Load Statistics: Flip experimental cookie blocking setting from an e...
John Wilander
Reported
2020-01-08 15:28:09 PST
To get default on behavior, experimental features in the network process need to be turned from enable to disable flags. We should do that for the experimental cookie blocking setting.
Attachments
Patch
(10.40 KB, patch)
2020-01-08 15:46 PST
,
John Wilander
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2020-01-08 15:28:35 PST
<
rdar://problem/58424136
>
John Wilander
Comment 2
2020-01-08 15:46:14 PST
Created
attachment 387149
[details]
Patch
Brent Fulgham
Comment 3
2020-01-08 16:03:47 PST
Comment on
attachment 387149
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=387149&action=review
> Source/WebKit/UIProcess/WebsiteData/Cocoa/WebsiteDataStoreCocoa.mm:75 > + auto thirdPartyCookieBlockingMode = WebCore::ThirdPartyCookieBlockingMode::All;
When would we ever hit 'OnlyAccordingToPerDomainPolicy'?
John Wilander
Comment 4
2020-01-08 16:11:35 PST
(In reply to Brent Fulgham from
comment #3
)
> Comment on
attachment 387149
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=387149&action=review
> > > Source/WebKit/UIProcess/WebsiteData/Cocoa/WebsiteDataStoreCocoa.mm:75 > > + auto thirdPartyCookieBlockingMode = WebCore::ThirdPartyCookieBlockingMode::All; > > When would we ever hit 'OnlyAccordingToPerDomainPolicy'?
It was the old default but now it's only needed to be able to run layout tests with non-ITP behavior by default. The TestRunner falls back to this old setting for all tests that don't explicitly test ITP's behavior. Otherwise a bunch of tests that assume cookie access would not pass. My reasoning is that since users can turn off ITP and WKWebViews don't run with ITP, the rest of the layout test suite needs to continue testing under such conditions. (Per-domain policy effectively means that if the layout test doesn't make a domain prevalent, ITP won't do anything, ergo non-ITP behavior.) I hope this makes sense. Thanks for the review!
WebKit Commit Bot
Comment 5
2020-01-08 17:21:09 PST
Comment on
attachment 387149
[details]
Patch Clearing flags on attachment: 387149 Committed
r254239
: <
https://trac.webkit.org/changeset/254239
>
WebKit Commit Bot
Comment 6
2020-01-08 17:21:10 PST
All reviewed patches have been landed. Closing bug.
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