| Auto-Submit | +1 |
| Commit-Queue | +1 |
Fredrik SöderquistPlease make it IsCorsSameOrigin, because at the end of the day that's what it's actually checking and the most accurate assessment of what it means to allow access. See ImageResource::IsAccessAllowed
https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/loader/resource/image_resource.cc;drc=ab3903cafa49d204b050a363fc6a835e366b75b5;l=661
Yep, good call. Done.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Commit-Queue | +2 |
Lgtm. Any plans to push it all the way down through Image to ImageResource?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Auto-Submit | +0 |
| Commit-Queue | +2 |
Lgtm. Any plans to push it all the way down through Image to ImageResource?
Will look into that. It looks like it may be a smaller change than this even.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Rename StyleImage::IsAccessAllowed() to IsCorsSameOrigin()
This should better convey what the function does. Add an overload which
allows not passing an argument - for convenience.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |