commit | e56aee6473486fdfac0429747284fda7cdd3aae5 | [log] [tgz] |
---|---|---|
author | Eric Lawrence <elawrence@chromium.org> | Tue Feb 20 19:21:03 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Feb 20 19:21:03 2018 |
tree | 6159c8a7ccd13d444548a06c643eb9014985db8f | |
parent | c20eefa834cb7b123b1359e799779b55f7035eb4 [diff] |
Use correct Request Context when EMBED or OBJECT requests an image When an OBJECT or EMBED element requests an image, it does so using an ImageLoader. To ensure that Content-Security-Policy restrictions are applied correctly in this scenario, we must adjust the request's context to indicate the originating element. Bug: 811691 Change-Id: I0fd8010970a12e68e845a54310695acc0b3f7625 Reviewed-on: https://chromium-review.googlesource.com/924589 Commit-Queue: Eric Lawrence <elawrence@chromium.org> Reviewed-by: Mike West <mkwst@chromium.org> Cr-Commit-Position: refs/heads/master@{#537846}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .