Downgrade to insecure styling in DevTools for non-secure connections
Security UX is experimenting with using a grey triangle warning for non-secure site connections (crbug.com/997972). When this icon is shown, DevTools Security panel's security overview should match the state shown in the omnibox. crrev.com/c/1857047 swaps out the info icon for a grey triangle for non-secure connections, so this cl uses the same logic (factored out into a helper) to determine whether pages with the NONE and WARNING security states should send Insecure or Neutral over the DevTools protocol. crrev.com/c/1881220 (DevTools frontend) should be submitted first. Bug: 1008218 Change-Id: I524fc43bae2d86bbc5fbe394948c3c29cda21bee Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1877653Reviewed-by:Yang Guo <yangguo@chromium.org> Reviewed-by:
Christopher Thompson <cthomp@chromium.org> Reviewed-by:
Tommy Li <tommycli@chromium.org> Commit-Queue: Livvie Lin <livvielin@chromium.org> Cr-Commit-Position: refs/heads/master@{#710859}
Showing
Please register or sign in to comment