"net/data/ssl" is an odd path to use in EmbeddedTestServer::AddDefaultHandlers in url_request_unittest.cc |
|
Issue description
In url_request_unittest.cc, there are several calls to EmbeddedTestServer::AddDefaultHandlers with an argument of base::FilePath(FILE_PATH_LITERAL("net/data/ssl"))). As far as I can tell, these tests are never serving files from the net/data/ssl directory, and these calls are simply to set up the default handlers on the embedded test server.
It looks like all of these calls can be replaced by a call to net::test_server::RegisterDefaultHandlers(EmbeddedTestServer*).
|
|
►
Sign in to add a comment |
|
Comment 1 by mmenke@chromium.org
, Apr 25 2018