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

Issue 726563004: MixedContentChecker should not log blocked preload requests (Closed)

Created:
6 years, 1 month ago by kouhei (in TOK)
Modified:
6 years, 1 month ago
CC:
blink-reviews, tyoshino+watch_chromium.org, Nate Chapin, gavinp+loader_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

MixedContentChecker should not log blocked preload requests This CL adds a SuppressLog argument to MixedContentChecker::shouldBlockFetch to suppress logging for preload requests. This makes it consistent with content security policy checks which also do not warn on preload requests. BUG=432771 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185420

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Patch Set 3 : test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -9 lines) Patch
A + LayoutTests/http/tests/security/mixedContent/preload-insecure-image-in-main-frame-blocked.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
A LayoutTests/http/tests/security/mixedContent/preload-insecure-image-in-main-frame-blocked-expected.txt View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A + LayoutTests/http/tests/security/mixedContent/resources/frame-preloads-insecure-image.html View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/fetch/ResourceFetcher.cpp View 1 2 3 chunks +6 lines, -4 lines 0 comments Download
M Source/core/loader/MixedContentChecker.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/loader/MixedContentChecker.cpp View 1 3 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
kouhei (in TOK)
Would you take a look? This is to address comment on https://codereview.chromium.org/724653002/
6 years, 1 month ago (2014-11-14 03:25:08 UTC) #2
Mike West
Thanks for this. I'd like to see a test to verify the behavior; it surprises ...
6 years, 1 month ago (2014-11-14 08:08:17 UTC) #3
kouhei (in TOK)
On 2014/11/14 08:08:17, Mike West wrote: > Thanks for this. I'd like to see a ...
6 years, 1 month ago (2014-11-14 09:19:31 UTC) #4
Mike West
I'd suggest just merging the layout tests from the other CL into this one. There's ...
6 years, 1 month ago (2014-11-14 10:09:41 UTC) #5
kouhei (in TOK)
Thanks! merged CLs.
6 years, 1 month ago (2014-11-17 03:43:14 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/726563004/40001
6 years, 1 month ago (2014-11-17 03:43:39 UTC) #8
tyoshino (SeeGerritForStatus)
lgtm
6 years, 1 month ago (2014-11-17 05:14:23 UTC) #9
commit-bot: I haz the power
6 years, 1 month ago (2014-11-17 05:58:19 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as 185420

Powered by Google App Engine
This is Rietveld 408576698