Use network::IsOriginPotentiallyTrustworthy in Insecure Input Tab Helper
This change replaces network::IsUrlPotentiallyTrustworthy with network::IsOriginPotentiallyTrustworthy in the Insecure Input Tab Helper. The difference is that "potentially trustworthy origin" does not include "data:" and "about:" schemes [1]. [1] https://w3c.github.io/webappsec-secure-contexts/#potentially-trustworthy-url Bug: 1119740, 1153336 Change-Id: Ib817eee3a8460b1f99669b6dc77c92f0e7ed2743 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2580067 Commit-Queue: Frédéric Wang <fwang@igalia.com> Reviewed-by:Emily Stark <estark@chromium.org> Cr-Commit-Position: refs/heads/master@{#835574}
Showing
Please register or sign in to comment