• Matt Menke's avatar
    Migrate DownloadExtensionTest to the EmbeddedTestServer. · 7c4ff65f
    Matt Menke authored
    This one of only two tests using BrowserTestBase::spawned_test_server().
    We want to reduce the use of the test server for a variety of reasons,
    and removing access from BrowserTestBase is a good way to decrease
    visibility of the spawned test server.
    
    Also remove the download-known-size handler from the SpawnedTestServer's
    Python code, as this was the only remaining test using that method.
    
    Bug: 492672
    Change-Id: Ib4836b9db3beb6a3f1f8598dea63fb262bf24dbb
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2498644
    Commit-Queue: Matt Menke <mmenke@chromium.org>
    Reviewed-by: default avatarMin Qin <qinmin@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#821260}
    7c4ff65f
downloads_api_browsertest.cc 186 KB