Issue metadata
Sign in to add a comment
|
Secure content marked as insecure on page reload once security status is lowered |
||||||||||||||||||||||||
Issue descriptionChrome Version: 60.0.3112.78; also Canary 62.0.3168.0 OS: Win7 If a secure page loads some unsecured content (e.g. an image ) over http: dynamically, the page's security status isn't reset on reloading it by the reload button or the reload context menu. If page reload is done by pressing enter in the address field, the security status is back to secure. What steps will reproduce the problem? (1) Load https://mixed-content-test.appspot.com/ ensure that padlock is shown. (2) Click http image button to load an image over plain http (3) Press page reload button or context menu reload. What is the expected result? Page should regain the secure status as no unsecured content is loaded. What happens instead? Page security status is still lowered (non-secure). This used to work as in the expected result in M59.
,
Jul 31 2017
Confirmed by per-revision bisect. You are probably looking for a change made after 477836 (known good), but no later than 477837 (first known bad). https://chromium.googlesource.com/chromium/src/+log/e043e3ceedef5d2ab6eb984d8f0a627989abad3e..db06e65dcd8da3f5b8cab60ecb32e9ba89c1598c
,
Jul 31 2017
I think the right thing to do here is clear content status flags when a navigation commits, somewhere around here: https://cs.chromium.org/chromium/src/content/browser/ssl/ssl_manager.cc?sq=package:chromium&l=193
,
Aug 2 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/9f784d27459c5a4e1c5fc3a77931870b1b847946 commit 9f784d27459c5a4e1c5fc3a77931870b1b847946 Author: Emily Stark <estark@google.com> Date: Wed Aug 02 21:25:54 2017 Clear SSLStatus content status flags on navigation As of https://codereview.chromium.org/2926803002, when navigating to an existing entry, the new navigation's SSLStatus remains unchanged from the existing entry. This is incorrect for content status flags, which depend on the content of the page; navigating to an existing entry does not mean that the content on the page is the same as it was when we navigated away from the existing entry. For this reason, this CL clears content status flags when a navigation commits. Any content status flags that do apply to the new navigation should be re-added as the content on the page loads. Bug: 750649 Change-Id: I41441c90ddeb85b6cbf35e4b102ce322cffb7db9 Reviewed-on: https://chromium-review.googlesource.com/597488 Reviewed-by: Eric Lawrence <elawrence@chromium.org> Reviewed-by: John Abd-El-Malek <jam@chromium.org> Commit-Queue: Emily Stark <estark@chromium.org> Cr-Commit-Position: refs/heads/master@{#491504} [modify] https://crrev.com/9f784d27459c5a4e1c5fc3a77931870b1b847946/chrome/browser/ssl/ssl_browser_tests.cc [modify] https://crrev.com/9f784d27459c5a4e1c5fc3a77931870b1b847946/content/browser/ssl/ssl_manager.cc [modify] https://crrev.com/9f784d27459c5a4e1c5fc3a77931870b1b847946/content/browser/ssl/ssl_manager.h
,
Aug 2 2017
,
Sep 25 2017
|
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by elawrence@chromium.org
, Jul 31 2017Labels: hasbisect