DescriptionIn identifying download referrer chain, if the subframe url is not
available (e.g. empty), we should use main frame url to search for
previous navigation.
This will help us correctly identify referrer of downloads that
happen in sub-frame.
For example, page A has a link to page B, and page B has a
subframe C, and subframe C links to download D.
A ---> B
\iframe C -----> D
If we only look at the frame D's in, we can only reach C in
attribution. But in fact it should be D-C-B-A.
BUG=639467
Committed: https://crrev.com/f5e07b74bfbc8bf109bdf9855b0a6c0214085d73
Cr-Commit-Position: refs/heads/master@{#441454}
Patch Set 1 #
Total comments: 4
Patch Set 2 : address comments from nparker@ #
Messages
Total messages: 20 (14 generated)
|