Index: content/browser/web_contents/web_contents_impl_browsertest.cc |
diff --git a/content/browser/web_contents/web_contents_impl_browsertest.cc b/content/browser/web_contents/web_contents_impl_browsertest.cc |
index 28a1ab37940c517c1c9d9dbc01674bec55a3cd78..a10bca9c5b4a21358ebcf93ab069616405f948de 100644 |
--- a/content/browser/web_contents/web_contents_impl_browsertest.cc |
+++ b/content/browser/web_contents/web_contents_impl_browsertest.cc |
@@ -626,6 +626,9 @@ IN_PROC_BROWSER_TEST_F(WebContentsImplBrowserTest, |
shell()->LoadURL(url); |
tab_observer.Wait(); |
EXPECT_EQ(url, shell()->web_contents()->GetLastCommittedURL()); |
+ EXPECT_EQ(std::string("foo.com"), |
+ static_cast<WebContentsImpl*>(shell()->web_contents()) |
+ ->getRapporCommittedUrl()); |
Charlie Reis
2016/11/16 23:55:22
This doesn't seem related to this test. We should
Navid Zolghadr
2016/12/01 18:27:15
Done.
|
// We should have gotten to DidStopLoading. |
EXPECT_TRUE(delegate->did_stop_loading); |