WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
203195
Resource Load Statistics: Update cookie blocking in NetworkStorageSession after first user interaction
https://bugs.webkit.org/show_bug.cgi?id=203195
Summary
Resource Load Statistics: Update cookie blocking in NetworkStorageSession aft...
John Wilander
Reported
2019-10-21 09:13:53 PDT
After a call to WebResourceLoadStatisticsStore::logUserInteraction(), we should update cookie blocking state in NetworkStorageSession if this interaction changed the domain's hadUserInteraction field to true.
Attachments
Patch
(12.99 KB, patch)
2019-10-21 11:11 PDT
,
John Wilander
no flags
Details
Formatted Diff
Diff
Patch
(13.09 KB, patch)
2019-10-21 13:08 PDT
,
John Wilander
no flags
Details
Formatted Diff
Diff
Patch for landing
(13.04 KB, patch)
2019-10-21 14:03 PDT
,
John Wilander
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2019-10-21 09:14:15 PDT
<
rdar://problem/56464567
>
John Wilander
Comment 2
2019-10-21 11:11:48 PDT
Created
attachment 381420
[details]
Patch
John Wilander
Comment 3
2019-10-21 13:08:43 PDT
Created
attachment 381433
[details]
Patch
John Wilander
Comment 4
2019-10-21 13:25:04 PDT
Cc'ing Chris for him to take a look at the innerCompletionHandler part.
Chris Dumez
Comment 5
2019-10-21 13:51:29 PDT
Comment on
attachment 381433
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=381433&action=review
LGTM with 1 nit.
> Source/WebKit/NetworkProcess/Classifier/WebResourceLoadStatisticsStore.cpp:551 > + postTaskReply([completionHandler = WTFMove(completionHandler)]() mutable {
Doesn't postTaskReply(WTFMove(completionHandler)); work?
John Wilander
Comment 6
2019-10-21 13:53:12 PDT
(In reply to Chris Dumez from
comment #5
)
> Comment on
attachment 381433
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=381433&action=review
> > LGTM with 1 nit. > > > Source/WebKit/NetworkProcess/Classifier/WebResourceLoadStatisticsStore.cpp:551 > > + postTaskReply([completionHandler = WTFMove(completionHandler)]() mutable { > > Doesn't postTaskReply(WTFMove(completionHandler)); work?
I actually started that way then reviewed how we've done it previously. I'll switch to that. Thanks both of you!
John Wilander
Comment 7
2019-10-21 14:03:31 PDT
Created
attachment 381448
[details]
Patch for landing
WebKit Commit Bot
Comment 8
2019-10-21 15:33:54 PDT
Comment on
attachment 381448
[details]
Patch for landing Clearing flags on attachment: 381448 Committed
r251391
: <
https://trac.webkit.org/changeset/251391
>
WebKit Commit Bot
Comment 9
2019-10-21 15:33:56 PDT
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