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

Issue 1905033002: PlzNavigate: Move navigation-level mixed content checks to the browser. (Closed)

Created:
4 years, 8 months ago by carlosk
Modified:
3 years, 10 months ago
Reviewers:
Mike West, jam, nasko
CC:
foolip, asvitkine+watch_chromium.org, blink-reviews, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, gavinp+loader_chromium.org, Nate Chapin, jochen+watch_chromium.org, loading-reviews_chromium.org, mkwst+moarreviews-shell_chromium.org, mlamouri+watch-content_chromium.org, mlamouri+watch-test-runner_chromium.org, nasko+codewatch_chromium.org, Peter Beverloo, tyoshino+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@console-security-message
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PlzNavigate: Move navigation-level mixed content checks to the browser. This is a step towards moving to the browser some navigation security checks currently made in the renderer. This is needed for PlzNavigate to function properly, avoid extra delays caused by unnecessary IPC exchanges and might pave the way for similar changes needed by OOPIF. This change only affects PlzNavigate; the current implementation is unaffected. In that context, note that this is only a partial move of the checks currently performed by MixedContentChecker: only frame navigation resource loads will be intercepted by the browser, by the newly created MixedContentNavigationThrottle. And for this implementation to work correctly with HSTS it requires an implementation of the latter as a navigation throttle. This is now a requirement for PlzNavigate to be launched as otherwise HSTS checks would be broken. BUG=576270 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/1905033002 Cr-Commit-Position: refs/heads/master@{#450904} Committed: https://chromium.googlesource.com/chromium/src/+/d9d979428e6e9301e3044b875de92af4fa96344a

Patch Set 1 : has pre-submit errors, breaks vanilla navigation, lots of required TODOs before LGTM-able. #

Patch Set 2 : Vanilla navigations still failing 3 mixed content tests; lots of logging. #

Patch Set 3 : Vanilla navigation passes all mixed-content layout tests! #

Patch Set 4 : Rebase; PlzNavigate failures down to 1! #

Patch Set 5 : (Mostly a) Rebase. #

Patch Set 6 : Clean up to ease reviewing. #

Patch Set 7 : Some mixed-content code is now public from Blink. #

Patch Set 8 : Mixed-content settings are now properly stored in Chrome-land. #

Patch Set 9 : Fixed compilation error that didn't show up in Debug builds. #

Patch Set 10 : Fixed TabSpecificContentSettings::DidFinishNavigation DCHECK-ing. #

Patch Set 11 : Fix crash when opener WebContents has no TabSpecificContentSettings set. #

Patch Set 12 : Change the way spatial navigation is enabled in layout tests. #

Patch Set 13 : Added needed notifications for mixed-contend that was displayed or ran. #

Patch Set 14 : Updates NavigationHandle URL at request time; fixes remaining layout test; minor changes. #

Patch Set 15 : Moved browser side mixed content site settings into their own class. Rebase. #

Patch Set 16 : Fixed wrong parameter in MixedContentCheckerTest; naming changes; rebase. #

Patch Set 17 : Rebase; simpler patch now due to integrating spin-off changes. #

Patch Set 18 : Fixed Windows compilation error. #

Patch Set 19 : Updated secure URL checks, reorganized code, added unit test. #

Patch Set 20 : Overall code cleanup to request reviewers to PTAL. #

Total comments: 11

Patch Set 21 : Rebase to fix build errors. #

Patch Set 22 : Fixed external handling order change for request start and redirects. #

Total comments: 28

Patch Set 23 : Just comment changes #

Patch Set 24 : Rebase and getter rename. #

Patch Set 25 : Updates the renderer with mixed content information found on the browser. #

Patch Set 26 : Fixed ReferrerPolicyTest.IFrame #

Patch Set 27 : Rebase. #

Patch Set 28 : Rebase with adaptation to the removal of InsecureContentInfobarDelegate. #

Patch Set 29 : Rebase and adaptated browser side mixed-content code for the removal of the display setting. #

Patch Set 30 : Major rebase. #

Patch Set 31 : Fixing build errors. #

Patch Set 32 : Rebase to fix build errors. #

Patch Set 33 : Fixed failing content unit test. #

Patch Set 34 : Rebase #

Patch Set 35 : Enables browser side mixed content checking only if PlzNavigate is enabled. #

Patch Set 36 : Rebase after 3 spin off CLs landed. #

Total comments: 6

Patch Set 37 : Rebase. #

Patch Set 38 : Move mixed content console logging back to the renderer. #

Patch Set 39 : Rebase. #

Patch Set 40 : MixedContent::ContextType comes from the renderer; lessen Blink public code; fixed build. #

Total comments: 6

Patch Set 41 : Rebase. #

Patch Set 42 : Addressed all jam@ latest comments. #

Total comments: 24

Patch Set 43 : Rebase over sping off CL; partillay address latest jam@'s comments. #

Patch Set 44 : Moved methods from ContentBrowserClient to WebContentsDelegate; all caps constant names. #

Total comments: 14

Patch Set 45 : Rebase and fixed patching issue. #

Patch Set 46 : Address jam@ comments; many minor code and comment updates. #

Total comments: 77

Patch Set 47 : Rebase. #

Patch Set 48 : Addressed latest comments from nasko@ and mkwst@. #

Patch Set 49 : Now using shared scheme collections from url_util.h. #

Total comments: 26

Patch Set 50 : Rebase. #

Patch Set 51 : Addressed nasko@'s comments. #

Total comments: 18

Patch Set 52 : Rebase. #

Patch Set 53 : Minor changes to code and commenst #

Total comments: 14

Patch Set 54 : Addressed initial mkwst@ comments. #

Patch Set 55 : Minor comment updates. #

Total comments: 6

Patch Set 56 : Minor changes from nasko@'s comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+999 lines, -37 lines) Patch
M chrome/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/browser/content_settings/mixed_content_settings_tab_helper.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 1 chunk +48 lines, -0 lines 0 comments Download
A chrome/browser/content_settings/mixed_content_settings_tab_helper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 1 chunk +64 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 3 chunks +38 lines, -0 lines 0 comments Download
M chrome/browser/ui/content_settings/content_setting_bubble_model.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/ui/tab_helpers.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 3 chunks +4 lines, -0 lines 0 comments Download
M chrome/renderer/content_settings_observer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 2 chunks +4 lines, -0 lines 0 comments Download
M content/browser/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 1 chunk +2 lines, -0 lines 0 comments Download
A content/browser/frame_host/mixed_content_navigation_throttle.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 1 chunk +97 lines, -0 lines 0 comments Download
A content/browser/frame_host/mixed_content_navigation_throttle.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 1 chunk +356 lines, -0 lines 0 comments Download
A content/browser/frame_host/mixed_content_navigation_throttle_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 1 chunk +58 lines, -0 lines 0 comments Download
M content/browser/frame_host/navigation_handle_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 3 chunks +12 lines, -3 lines 0 comments Download
M content/browser/frame_host/navigation_request.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 2 chunks +1 line, -21 lines 0 comments Download
M content/browser/frame_host/render_frame_host_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 2 chunks +19 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 1 chunk +8 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 1 chunk +8 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 3 chunks +22 lines, -0 lines 0 comments Download
M content/common/frame_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 2 chunks +17 lines, -0 lines 0 comments Download
M content/common/origin_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 3 chunks +43 lines, -2 lines 0 comments Download
M content/public/browser/web_contents_delegate.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 2 chunks +14 lines, -0 lines 0 comments Download
M content/public/browser/web_contents_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 1 chunk +8 lines, -0 lines 0 comments Download
M content/public/common/origin_util.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 2 chunks +10 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 2 chunks +7 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 2 chunks +19 lines, -0 lines 0 comments Download
M content/shell/browser/layout_test/blink_test_controller.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 1 chunk +5 lines, -0 lines 0 comments Download
M content/shell/browser/shell.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 1 chunk +4 lines, -0 lines 0 comments Download
M content/shell/browser/shell.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 2 chunks +18 lines, -0 lines 0 comments Download
M content/test/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/FlagExpectations/enable-browser-side-navigation View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 1 chunk +0 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/loader/MixedContentChecker.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 2 chunks +16 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/loader/MixedContentChecker.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 3 chunks +31 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/loader/MixedContentCheckerTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 1 chunk +20 lines, -0 lines 0 comments Download
M third_party/WebKit/public/web/WebLocalFrame.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 2 chunks +17 lines, -0 lines 0 comments Download

Messages

Total messages: 254 (203 generated)
carlosk
mkwst@, nasko@, clamy@: PTAL. Pay special attention to my comments in this patch set with ...
4 years, 5 months ago (2016-07-18 14:37:14 UTC) #10
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-18 14:49:48 UTC) #15
clamy
Thanks! I can't comment on the mixed content-specifics, but one remark below. On the subject ...
4 years, 5 months ago (2016-07-18 15:20:38 UTC) #16
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-19 13:05:03 UTC) #21
carlosk
Thanks clamy@. For the record this was the layout test that failed with the previous ...
4 years, 5 months ago (2016-07-19 13:31:01 UTC) #22
carlosk
On the reportingStatus issue I mentioned in a comment: The trybots on https://crrev.com/2160583003 just finished ...
4 years, 5 months ago (2016-07-19 14:07:07 UTC) #23
Mike West
This looks like it's going in the right direction. I added a few comments on ...
4 years, 5 months ago (2016-07-19 14:39:32 UTC) #26
Mike West
https://codereview.chromium.org/1905033002/diff/480001/content/browser/frame_host/mixed_content_navigation_throttle_unittest.cc File content/browser/frame_host/mixed_content_navigation_throttle_unittest.cc (right): https://codereview.chromium.org/1905033002/diff/480001/content/browser/frame_host/mixed_content_navigation_throttle_unittest.cc#newcode49 content/browser/frame_host/mixed_content_navigation_throttle_unittest.cc:49: } I think we should have more extensive tests ...
4 years, 5 months ago (2016-07-19 14:41:39 UTC) #27
carlosk
Thanks! But mkwst@, did you have a chance to read my comments/questions from the original ...
4 years, 5 months ago (2016-07-19 16:32:16 UTC) #28
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-25 18:30:38 UTC) #31
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 4 months ago (2016-07-26 12:34:21 UTC) #36
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 4 months ago (2016-07-26 13:46:09 UTC) #41
jam
https://codereview.chromium.org/1905033002/diff/780001/content/browser/frame_host/mixed_content_navigation_throttle.cc File content/browser/frame_host/mixed_content_navigation_throttle.cc (right): https://codereview.chromium.org/1905033002/diff/780001/content/browser/frame_host/mixed_content_navigation_throttle.cc#newcode128 content/browser/frame_host/mixed_content_navigation_throttle.cc:128: return blink::WebMixedContent::requestContextName( similarly here, can we just send an ...
3 years, 11 months ago (2016-12-28 20:41:00 UTC) #95
carlosk
Thanks for the comments. The annoying part about those calls is that this code was ...
3 years, 11 months ago (2017-01-05 06:10:08 UTC) #102
jam
https://codereview.chromium.org/1905033002/diff/780001/content/browser/frame_host/mixed_content_navigation_throttle.cc File content/browser/frame_host/mixed_content_navigation_throttle.cc (right): https://codereview.chromium.org/1905033002/diff/780001/content/browser/frame_host/mixed_content_navigation_throttle.cc#newcode137 content/browser/frame_host/mixed_content_navigation_throttle.cc:137: return blink::WebMixedContent::contextTypeFromRequestContext( On 2017/01/05 06:10:08, carlosk wrote: > On ...
3 years, 11 months ago (2017-01-05 17:21:53 UTC) #105
jam
https://codereview.chromium.org/1905033002/diff/880001/third_party/WebKit/public/platform/WebMixedContent.h File third_party/WebKit/public/platform/WebMixedContent.h (right): https://codereview.chromium.org/1905033002/diff/880001/third_party/WebKit/public/platform/WebMixedContent.h#newcode48 third_party/WebKit/public/platform/WebMixedContent.h:48: BLINK_PLATFORM_EXPORT static ContextType contextTypeFromRequestContext( we should separate this static ...
3 years, 11 months ago (2017-01-06 04:49:40 UTC) #115
jam
https://codereview.chromium.org/1905033002/diff/880001/content/browser/frame_host/mixed_content_navigation_throttle.cc File content/browser/frame_host/mixed_content_navigation_throttle.cc (right): https://codereview.chromium.org/1905033002/diff/880001/content/browser/frame_host/mixed_content_navigation_throttle.cc#newcode93 content/browser/frame_host/mixed_content_navigation_throttle.cc:93: if (HasLocalScheme(url) || net::IsLocalhost(url.HostNoBrackets())) for clarity, it would help ...
3 years, 11 months ago (2017-01-06 21:20:13 UTC) #116
jam
one last round of minor comments after looking at the latest patchset. https://codereview.chromium.org/1905033002/diff/970001/chrome/browser/content_settings/mixed_content_settings.h File chrome/browser/content_settings/mixed_content_settings.h ...
3 years, 11 months ago (2017-01-09 21:15:47 UTC) #138
carlosk
Thanks. Just wanted to publish my replies to the previous comments before moving on with ...
3 years, 11 months ago (2017-01-10 02:10:44 UTC) #141
carlosk
I Forgot to hit send on my replies yesterday... :/ https://codereview.chromium.org/1905033002/diff/970001/chrome/browser/content_settings/mixed_content_settings.h File chrome/browser/content_settings/mixed_content_settings.h (right): https://codereview.chromium.org/1905033002/diff/970001/chrome/browser/content_settings/mixed_content_settings.h#newcode13 ...
3 years, 11 months ago (2017-01-10 19:13:11 UTC) #149
jam
https://codereview.chromium.org/1905033002/diff/970001/content/browser/frame_host/mixed_content_navigation_throttle.h File content/browser/frame_host/mixed_content_navigation_throttle.h (right): https://codereview.chromium.org/1905033002/diff/970001/content/browser/frame_host/mixed_content_navigation_throttle.h#newcode51 content/browser/frame_host/mixed_content_navigation_throttle.h:51: MixedContentFormsSubmitted = 441, On 2017/01/10 19:13:11, carlosk wrote: > ...
3 years, 11 months ago (2017-01-10 19:28:37 UTC) #150
carlosk
Thanks. Now all is clear and I will work on this for the next patch. ...
3 years, 11 months ago (2017-01-10 20:03:59 UTC) #151
jam
On 2017/01/10 20:03:59, carlosk wrote: > Thanks. Now all is clear and I will work ...
3 years, 11 months ago (2017-01-10 20:22:12 UTC) #152
carlosk
Thanks. All open concerns were addressed and I really like the current state. I think ...
3 years, 11 months ago (2017-01-11 03:32:21 UTC) #155
jam
Thanks for bearing through. This looks ready to land as well to me. I just ...
3 years, 11 months ago (2017-01-11 16:38:06 UTC) #158
carlosk
Thanks again jam@. Time to start the final round of reviews. mkwst@: PTAL at all ...
3 years, 11 months ago (2017-01-11 22:15:03 UTC) #161
jam
lgtm https://codereview.chromium.org/1905033002/diff/1030001/chrome/browser/content_settings/mixed_content_settings.cc File chrome/browser/content_settings/mixed_content_settings.cc (right): https://codereview.chromium.org/1905033002/diff/1030001/chrome/browser/content_settings/mixed_content_settings.cc#newcode52 chrome/browser/content_settings/mixed_content_settings.cc:52: // to a new site instance. On 2017/01/11 ...
3 years, 11 months ago (2017-01-12 01:39:00 UTC) #164
carlosk
Just replying to the comments. Changes are minimal so I'm holding on uploading so to ...
3 years, 11 months ago (2017-01-12 17:44:02 UTC) #165
jam
https://codereview.chromium.org/1905033002/diff/1070001/content/browser/frame_host/render_frame_host_delegate.cc File content/browser/frame_host/render_frame_host_delegate.cc (right): https://codereview.chromium.org/1905033002/diff/1070001/content/browser/frame_host/render_frame_host_delegate.cc#newcode101 content/browser/frame_host/render_frame_host_delegate.cc:101: return false; On 2017/01/12 17:44:02, carlosk wrote: > On ...
3 years, 11 months ago (2017-01-12 18:24:08 UTC) #166
nasko
Sending a round of comments, but need to do a more thorough reading of mixed_content_navigation_throttle.cc ...
3 years, 11 months ago (2017-01-12 18:32:38 UTC) #167
Mike West
https://codereview.chromium.org/1905033002/diff/1070001/content/browser/frame_host/mixed_content_navigation_throttle.h File content/browser/frame_host/mixed_content_navigation_throttle.h (right): https://codereview.chromium.org/1905033002/diff/1070001/content/browser/frame_host/mixed_content_navigation_throttle.h#newcode67 content/browser/frame_host/mixed_content_navigation_throttle.h:67: }; I know we talked about this a while ...
3 years, 11 months ago (2017-01-13 13:20:00 UTC) #168
carlosk
Thanks. Latest patch set addresses most comments. I will integrate the new shared scheme registries ...
3 years, 11 months ago (2017-01-21 02:54:59 UTC) #169
carlosk
On 2017/01/21 02:54:59, carlosk wrote: > Thanks. > > Latest patch set addresses most comments. ...
3 years, 11 months ago (2017-01-21 06:52:36 UTC) #176
nasko
Thanks for the updates. I've also gone through the mixed content implementation, so expect lots ...
3 years, 11 months ago (2017-01-23 22:32:38 UTC) #179
Mike West
https://codereview.chromium.org/1905033002/diff/1070001/content/browser/frame_host/mixed_content_navigation_throttle.h File content/browser/frame_host/mixed_content_navigation_throttle.h (right): https://codereview.chromium.org/1905033002/diff/1070001/content/browser/frame_host/mixed_content_navigation_throttle.h#newcode67 content/browser/frame_host/mixed_content_navigation_throttle.h:67: }; On 2017/01/21 at 02:54:59, carlosk wrote: > On ...
3 years, 11 months ago (2017-01-25 11:37:30 UTC) #184
carlosk
I'm still investigating nasko@'s suggestions in regards to the use of url::Origin, consolidating IsPotentiallyTrustworthyOrigin and ...
3 years, 10 months ago (2017-01-28 02:09:44 UTC) #195
carlosk
On 2017/01/28 02:09:44, carlosk wrote: > I'm still investigating nasko@'s suggestions in regards to the ...
3 years, 10 months ago (2017-02-08 02:59:03 UTC) #221
nasko
Another round of comments. I'd lean on mkwst@ to ensure the mixed content implementation match ...
3 years, 10 months ago (2017-02-10 01:08:21 UTC) #224
carlosk
Thanks. https://codereview.chromium.org/1905033002/diff/1070001/chrome/browser/content_settings/mixed_content_settings.cc File chrome/browser/content_settings/mixed_content_settings.cc (right): https://codereview.chromium.org/1905033002/diff/1070001/chrome/browser/content_settings/mixed_content_settings.cc#newcode48 chrome/browser/content_settings/mixed_content_settings.cc:48: if (!navigation_handle->IsInMainFrame() || !navigation_handle->HasCommitted()) On 2017/02/10 01:08:20, nasko ...
3 years, 10 months ago (2017-02-11 01:40:22 UTC) #227
Mike West
lgtm https://codereview.chromium.org/1905033002/diff/1390001/content/browser/frame_host/mixed_content_navigation_throttle.cc File content/browser/frame_host/mixed_content_navigation_throttle.cc (right): https://codereview.chromium.org/1905033002/diff/1390001/content/browser/frame_host/mixed_content_navigation_throttle.cc#newcode39 content/browser/frame_host/mixed_content_navigation_throttle.cc:39: } The comments say that these two functions ...
3 years, 10 months ago (2017-02-13 13:17:44 UTC) #230
Mike West
Sorry, I hit "Quick LGTM" instead of "Reply". I'd actually like answers to some things: ...
3 years, 10 months ago (2017-02-13 13:21:56 UTC) #231
carlosk
On 2017/02/13 13:21:56, Mike West (sloooooow) wrote: > In general the WebKit side of the ...
3 years, 10 months ago (2017-02-14 01:42:59 UTC) #236
Mike West
//third_party/WebKit and //content/shell LGTM. IPC too, FWIW. The throttle looks like it'll produce the correct ...
3 years, 10 months ago (2017-02-14 07:37:52 UTC) #239
carlosk
Thanks! https://codereview.chromium.org/1905033002/diff/1390001/content/browser/frame_host/mixed_content_navigation_throttle.cc File content/browser/frame_host/mixed_content_navigation_throttle.cc (right): https://codereview.chromium.org/1905033002/diff/1390001/content/browser/frame_host/mixed_content_navigation_throttle.cc#newcode75 content/browser/frame_host/mixed_content_navigation_throttle.cc:75: // potentially trustworthy. On 2017/02/14 01:42:59, carlosk wrote: ...
3 years, 10 months ago (2017-02-14 19:32:15 UTC) #240
clamy
Note: I'm removing myself from the review since I did not follow the patch at ...
3 years, 10 months ago (2017-02-15 16:34:55 UTC) #241
nasko
Phew! Some nits, but nothing else. LGTM! https://codereview.chromium.org/1905033002/diff/1430001/content/browser/frame_host/mixed_content_navigation_throttle.cc File content/browser/frame_host/mixed_content_navigation_throttle.cc (right): https://codereview.chromium.org/1905033002/diff/1430001/content/browser/frame_host/mixed_content_navigation_throttle.cc#newcode82 content/browser/frame_host/mixed_content_navigation_throttle.cc:82: bool DoesOriginSchemeRestrictsMixedContent(const ...
3 years, 10 months ago (2017-02-15 17:41:39 UTC) #243
carlosk
Thanks! Just to be sure I did run locally an arbitrary subset of tests with ...
3 years, 10 months ago (2017-02-15 21:46:31 UTC) #244
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/1905033002/1450001
3 years, 10 months ago (2017-02-15 21:48:49 UTC) #247
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/119824)
3 years, 10 months ago (2017-02-15 23:26:45 UTC) #249
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/1905033002/1450001
3 years, 10 months ago (2017-02-16 05:49:45 UTC) #251
commit-bot: I haz the power
3 years, 10 months ago (2017-02-16 08:59:05 UTC) #254
Message was sent while issue was closed.
Committed patchset #56 (id:1450001) as
https://chromium.googlesource.com/chromium/src/+/d9d979428e6e9301e3044b875de9...

Powered by Google App Engine
This is Rietveld 408576698