Add tests for SecurityOrigin::IsSecure and network::Is*PotentiallyTrustworthy
This CL adds tests for the following functions: SecurityOrigin::IsSecure network::IsUrlPotentiallyTrustworthy network::IsOriginPotentiallyTrustworthy They cover various cases of [1] as well as existing support in Blink. There is no behavior change, the expectations are just set to make the tests pass with the current implementations. This will make easier to compare and unify them. [1] https://w3c.github.io/webappsec-secure-contexts/#is-url-trustworthy Bug: 1153336 Change-Id: I40b6b8aaabd8ae7d0f97ceaa5ab4462eebfff585 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2593629Reviewed-by:Mike West <mkwst@chromium.org> Reviewed-by:
Matt Falkenhagen <falken@chromium.org> Commit-Queue: Frédéric Wang <fwang@igalia.com> Cr-Commit-Position: refs/heads/master@{#837984}
Showing
Please register or sign in to comment