[AdTagging] Any script in an ad frame's context is ad script
When calling IsAdScriptInStack, return true if the current context is an ad frame's context. This is a minor optimization in positive cases, and also covers more cases (e.g., inline script in the ad frame). BUG: 894080 Change-Id: I7b691c6746235bf4cc8be9860d81b7899c86e847 Reviewed-on: https://chromium-review.googlesource.com/c/1264955 Commit-Queue: Josh Karlin <jkarlin@chromium.org> Reviewed-by:Charlie Harrison <csharrison@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#598765}
Showing
Please register or sign in to comment