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

Unified Diff: ios/web/public/test/web_view_interaction_test_util.h

Issue 2448753002: Refactor wait_util so it isn't coupled to EarlGrey. (Closed)
Patch Set: compile Created 4 years, 2 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/public/test/web_view_interaction_test_util.h
diff --git a/ios/web/public/test/web_view_interaction_test_util.h b/ios/web/public/test/web_view_interaction_test_util.h
index 2aa64f565a2d9b1a64e02748e40cb224ee6cd752..4edc1170f62e0413b6b857c11a2ec24be5a94180 100644
--- a/ios/web/public/test/web_view_interaction_test_util.h
+++ b/ios/web/public/test/web_view_interaction_test_util.h
@@ -14,7 +14,8 @@
namespace web {
namespace test {
-// Synchronously returns the result of executed JavaScript.
+// Synchronously returns the result of executed JavaScript, returning nullptr
+// if the JavaScript does not complete.
std::unique_ptr<base::Value> ExecuteJavaScript(web::WebState* web_state,
const std::string& script);
« no previous file with comments | « ios/web/public/test/earl_grey/web_view_matchers.mm ('k') | ios/web/public/test/web_view_interaction_test_util.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698