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); |