Commit 2771465d authored by David Van Cleve's avatar David Van Cleve Committed by Commit Bot

network: Fix a bug in ResourceRequest::EqualsForTesting

EqualsForTesting was comparing ResourceRequest's trusted_params
field to itself, rather than to the trusted params of the
other being-compared-to request.

Change-Id: I6e5b37a03e58303b2ccc75026bfd85612fba0907
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2116910
Commit-Queue: David Van Cleve <davidvc@chromium.org>
Commit-Queue: Matt Menke <mmenke@chromium.org>
Auto-Submit: David Van Cleve <davidvc@chromium.org>
Reviewed-by: default avatarMatt Menke <mmenke@chromium.org>
Cr-Commit-Position: refs/heads/master@{#752601}
parent 58574dcb
......@@ -75,7 +75,7 @@ bool ResourceRequest::EqualsForTesting(const ResourceRequest& request) const {
is_signed_exchange_prefetch_cache_enabled ==
request.is_signed_exchange_prefetch_cache_enabled &&
obey_origin_policy == request.obey_origin_policy &&
trusted_params == trusted_params &&
trusted_params == request.trusted_params &&
recursive_prefetch_token == request.recursive_prefetch_token &&
trust_token_params == request.trust_token_params;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment