Correctly record if clicked anchor element contains image or not
Currently, when an anchor element is clicked, we record if it contains image or not based on only the properties of the clicked element. This CL changes the logic to also look at other anchor elements in the page that point to the same HREF. If any of the other anchor element in the page point to the same href as the clicked href, and contains image, then we record that the clicked anchor element also contains image. Bug: 871521 Change-Id: Ia21133e023596128e62621551931ad054fda98e3 Reviewed-on: https://chromium-review.googlesource.com/c/1278468Reviewed-by:Ryan Sturm <ryansturm@chromium.org> Commit-Queue: Tarun Bansal <tbansal@chromium.org> Cr-Commit-Position: refs/heads/master@{#599836}
Showing
Please register or sign in to comment