[AdTracker] Let IsAdScriptInStackHelper return the frame's creation script, when applicable When IsAdScriptInStackHelper() returns true, the resulting ad script ID can be empty if the frame itself is an ad. To improve traceability, we attempt to return the ad script that created the targeted ad frame. This change won't address cases where a frame is directly tagged by a subresource filter without an associated script ancestry. We're tracking that in bug in (crbug.com/421202278 ). Bug: 421207631,421202278 Change-Id: Ifd833c183ea706c48094c49fd83361b46b83adb0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6605733 Reviewed-by: Josh Karlin <jkarlin@chromium.org> Reviewed-by: David Bokan <bokan@chromium.org> Commit-Queue: Yao Xiao <yaoxia@chromium.org> Cr-Commit-Position: refs/heads/main@{#1468117}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.