| Index: components/cronet/url_request_context_config_unittest.cc
|
| diff --git a/components/cronet/url_request_context_config_unittest.cc b/components/cronet/url_request_context_config_unittest.cc
|
| index bbff7005a7929341bfffd5e619fe49bd7d18bd36..f3d9d05efda683d0bb8cc6ed9b12735f042fcbce 100644
|
| --- a/components/cronet/url_request_context_config_unittest.cc
|
| +++ b/components/cronet/url_request_context_config_unittest.cc
|
| @@ -54,7 +54,7 @@ TEST(URLRequestContextConfigTest, TestExperimentalOptionParsing) {
|
| "\"HostResolverRules\":{\"host_resolver_rules\":"
|
| "\"MAP * 127.0.0.1\"},"
|
| // See http://crbug.com/696569.
|
| - "\"disable_ipv6\":true}",
|
| + "\"disable_ipv6_on_wifi\":true}",
|
| // Data reduction proxy key.
|
| "",
|
| // Data reduction proxy.
|
| @@ -115,9 +115,8 @@ TEST(URLRequestContextConfigTest, TestExperimentalOptionParsing) {
|
| // Check AsyncDNS resolver is enabled.
|
| EXPECT_TRUE(context->host_resolver()->GetDnsConfigAsValue());
|
|
|
| - // Check IPv6 is disabled.
|
| - EXPECT_EQ(net::ADDRESS_FAMILY_IPV4,
|
| - context->host_resolver()->GetDefaultAddressFamily());
|
| + // Check IPv6 is disabled when on wifi.
|
| + EXPECT_TRUE(context->host_resolver()->GetNoIPv6OnWifi());
|
|
|
| net::HostResolver::RequestInfo info(net::HostPortPair("abcde", 80));
|
| net::AddressList addresses;
|
|
|