DescriptionUse |IsOriginSecure| for mark-HTTP-nonsecure field trial
When the flag or field trial is set such that non-secure origins will be
marked as dubious/non-secure, use |IsOriginSecure| to determine whether
an origin is non-secure, instead of simply treating http:// and ftp://
as non-secure. This means that http://nytimes.com will be marked as
dubious/non-secure, but not http://localhost (for example).
BUG=487499
TEST=Enable the "Mark non-secure as non-secure" flag in
chrome://flags. Visit http://nytimes.com and observe that the lock icon
is red and crossed out. Visit an http:// URL on localhost and observe
that the lock icon is neutral.
Committed: https://crrev.com/5f99677ac4f9b8180ee7fd2f0d5c85e91828a951
Cr-Commit-Position: refs/heads/master@{#329774}
Patch Set 1 #
Messages
Total messages: 8 (2 generated)
|