Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(425)

Unified Diff: ios/web/web_state/ui/crw_web_controller_unittest.mm

Issue 2685803002: Fixed title updating for back forward navigation. (Closed)
Patch Set: Stubbed title call Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/web/web_state/ui/crw_web_controller.mm ('k') | ios/web/web_state/ui/crw_wk_navigation_states.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_state/ui/crw_web_controller_unittest.mm
diff --git a/ios/web/web_state/ui/crw_web_controller_unittest.mm b/ios/web/web_state/ui/crw_web_controller_unittest.mm
index 02623a576c4913bba812d51106a54738f0752fda..749b5b6ca2661fa91d0d003268f0381550f2f8f1 100644
--- a/ios/web/web_state/ui/crw_web_controller_unittest.mm
+++ b/ios/web/web_state/ui/crw_web_controller_unittest.mm
@@ -778,6 +778,7 @@ TEST_F(CRWWebControllerJSExecutionTest, WindowIdMissmatch) {
TEST_F(CRWWebControllerTest, WebUrlWithTrustLevel) {
[[[mockWebView_ stub] andReturn:[NSURL URLWithString:@(kTestURLString)]] URL];
[[[mockWebView_ stub] andReturnBool:NO] hasOnlySecureContent];
+ [[[mockWebView_ stub] andReturn:@""] title];
// Stub out the injection process.
[[mockWebView_ stub] evaluateJavaScript:OCMOCK_ANY
« no previous file with comments | « ios/web/web_state/ui/crw_web_controller.mm ('k') | ios/web/web_state/ui/crw_wk_navigation_states.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698