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

Unified Diff: ios/web/shell/test/app/navigation_test_util.mm

Issue 2340533004: [ios] Implemented -[ShellEarlGrey loadURL:]. (Closed)
Patch Set: Do not wait for Window ID injection if content is not HTML. Created 4 years, 3 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
Index: ios/web/shell/test/app/navigation_test_util.mm
diff --git a/ios/web/shell/test/app/navigation_test_util.mm b/ios/web/shell/test/app/navigation_test_util.mm
index 908dab6b4d74cafd2ef62fb2403dbd529c1263ba..3266e2c2bece713c373beceb35ce7df308f245c0 100644
--- a/ios/web/shell/test/app/navigation_test_util.mm
+++ b/ios/web/shell/test/app/navigation_test_util.mm
@@ -14,5 +14,9 @@ void LoadUrl(const GURL& url) {
web::test::LoadUrl(GetCurrentWebState(), url);
}
+bool IsLoading() {
+ return GetCurrentWebState()->IsLoading();
+}
+
} // namespace shell_test_util
} // namespace web

Powered by Google App Engine
This is Rietveld 408576698