Bug 197238

Summary: Age out unconverted Ad Click Attributions after one week.
Product: WebKit Reporter: John Wilander <wilander>
Component: WebKit Misc.Assignee: John Wilander <wilander>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, cdumez, commit-queue, dbates, ews-watchlist, japhet, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch for landing none

John Wilander
Reported 2019-04-24 12:26:34 PDT
Unconverted Ad Click Attributions should be aged out after a week.
Attachments
Patch (25.14 KB, patch)
2019-04-24 12:34 PDT, John Wilander
no flags
Patch for landing (25.11 KB, patch)
2019-04-24 13:49 PDT, John Wilander
no flags
Radar WebKit Bug Importer
Comment 1 2019-04-24 12:27:06 PDT
John Wilander
Comment 2 2019-04-24 12:34:56 PDT
Chris Dumez
Comment 3 2019-04-24 12:43:10 PDT
Comment on attachment 368158 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=368158&action=review > Source/WebCore/loader/AdClickAttribution.cpp:99 > + m_timeOfAdClick = m_timeOfAdClick - maxAge - 1_s; cannot we use m_timeOfAdClick = {} ? Then the time would be epoch, which I bet would be considered as expired.
John Wilander
Comment 4 2019-04-24 12:44:54 PDT
(In reply to Chris Dumez from comment #3) > Comment on attachment 368158 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=368158&action=review > > > Source/WebCore/loader/AdClickAttribution.cpp:99 > > + m_timeOfAdClick = m_timeOfAdClick - maxAge - 1_s; > > cannot we use m_timeOfAdClick = {} ? Then the time would be epoch, which I > bet would be considered as expired. Oh, I'll try that. Thanks for the review!
John Wilander
Comment 5 2019-04-24 13:49:24 PDT
Created attachment 368171 [details] Patch for landing
WebKit Commit Bot
Comment 6 2019-04-24 14:28:48 PDT
Comment on attachment 368171 [details] Patch for landing Clearing flags on attachment: 368171 Committed r244614: <https://trac.webkit.org/changeset/244614>
WebKit Commit Bot
Comment 7 2019-04-24 14:28:49 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.