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
John Wilander
2019-04-24 12:26:34 PDT
Created attachment 368158 [details]
Patch
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. (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! Created attachment 368171 [details]
Patch for landing
Comment on attachment 368171 [details] Patch for landing Clearing flags on attachment: 368171 Committed r244614: <https://trac.webkit.org/changeset/244614> All reviewed patches have been landed. Closing bug. |