In 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 Review-Url: https://codereview.chromium.org/2612663002 Cr-Commit-Position: refs/heads/master@{#441454}
Showing
Please register or sign in to comment