Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Issue 2855163002: Avoid sending mixed-content requests for ImageSet contexts (Closed)

Created:
3 years, 7 months ago by Yoav Weiss
Modified:
3 years, 7 months ago
Reviewers:
Mike West, estark
CC:
blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink, gavinp+loader_chromium.org, gavinp+prerender_chromium.org, Nate Chapin, kinuko+watch, loading-reviews+parser_chromium.org, loading-reviews_chromium.org, loading-reviews+fetch_chromium.org, tyoshino+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Avoid sending mixed-content requests for ImageSet contexts ImageSet context resources, namely <picture> and srcset based images, are blockable mixed-content, yet we were sending out such requests, even if not displaying them, due to the preloadScanner ignoring the difference between them and `<img src>` based images This CL fixes that, by blocking such images. BUG=713440 Review-Url: https://codereview.chromium.org/2855163002 Cr-Commit-Position: refs/heads/master@{#469314} Committed: https://chromium.googlesource.com/chromium/src/+/babb7e6d7db134dab30bfa1419fc0b45744a2645

Patch Set 1 #

Patch Set 2 : Better check and a test #

Messages

Total messages: 23 (16 generated)
Yoav Weiss
Hey, Could you kind folks take a look? I'm not happy with the test coverage ...
3 years, 7 months ago (2017-05-03 15:13:27 UTC) #4
Mike West
This looks like a reasonable approach, thanks for addressing the problem! That said, the CHECK ...
3 years, 7 months ago (2017-05-04 06:38:45 UTC) #11
Yoav Weiss
On 2017/05/04 06:38:45, Mike West wrote: > This looks like a reasonable approach, thanks for ...
3 years, 7 months ago (2017-05-04 08:34:19 UTC) #12
Yoav Weiss
On 2017/05/04 08:34:19, Yoav Weiss wrote: > On 2017/05/04 06:38:45, Mike West wrote: > > ...
3 years, 7 months ago (2017-05-04 10:10:04 UTC) #15
Mike West
LGTM if the bots are happy. Thanks!
3 years, 7 months ago (2017-05-04 10:57:02 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2855163002/20001
3 years, 7 months ago (2017-05-04 12:04:24 UTC) #20
commit-bot: I haz the power
3 years, 7 months ago (2017-05-04 12:10:11 UTC) #23
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/babb7e6d7db134dab30bfa1419fc...

Powered by Google App Engine
This is Rietveld 408576698