-
Devlin Cronin authored
If an extension using the webRequest API has access to a.com, and the user visits b.com, and b.com requests a script from a.com, the request will be withheld from the extension. However, we shouldn't badge the extension as wanting to run in this scenario, since invoking the extension won't grant access to a.com (because it's not the tab's origin) or b.com (because the extension didn't request access). Thus, the extension still won't be able to intercept the request. Because there's no actionable behavior, don't badge. Add a test for the same. Bug: 891586 Change-Id: I673bac4cd936f0c659d3c32467c4976daaafe6a7 Reviewed-on: https://chromium-review.googlesource.com/c/1260211 Commit-Queue: Devlin <rdevlin.cronin@chromium.org> Reviewed-by:
Karan Bhatia <karandeepb@chromium.org> Cr-Commit-Position: refs/heads/master@{#596968}
5c98bfc2