| Index: mojo/fetcher/about_fetcher_unittest.cc
|
| diff --git a/mojo/fetcher/about_fetcher_unittest.cc b/mojo/fetcher/about_fetcher_unittest.cc
|
| index 81e46124de0ef1b58087a53e47e30a8b3d4d7850..79c487a21d4b950b4e1e29d3dd247746814ccbd0 100644
|
| --- a/mojo/fetcher/about_fetcher_unittest.cc
|
| +++ b/mojo/fetcher/about_fetcher_unittest.cc
|
| @@ -160,7 +160,13 @@ TEST_F(AboutFetcherTest, AboutBlank) {
|
| TEST_F(AboutFetcherTest, UnrecognizedURL) {
|
| ConnectAndWait("about:some_unrecognized_url");
|
|
|
| - ASSERT_EQ(0u, html_content_handler()->response_number());
|
| + ASSERT_EQ(1u, html_content_handler()->response_number());
|
| +
|
| + const URLResponse* response = html_content_handler()->latest_response();
|
| + EXPECT_EQ("about:some_unrecognized_url", response->url);
|
| + EXPECT_EQ(404u, response->status_code);
|
| + EXPECT_EQ("text/html", response->mime_type);
|
| + EXPECT_FALSE(response->body.is_valid());
|
| }
|
|
|
| } // namespace
|
|
|