Index: content/browser/frame_host/navigation_controller_impl_browsertest.cc |
diff --git a/content/browser/frame_host/navigation_controller_impl_browsertest.cc b/content/browser/frame_host/navigation_controller_impl_browsertest.cc |
index db6deecf05b40ba85fbf6a58ff511424da894e12..fb4e3bbaa1b4c72a892e5297d651320b058d2fe1 100644 |
--- a/content/browser/frame_host/navigation_controller_impl_browsertest.cc |
+++ b/content/browser/frame_host/navigation_controller_impl_browsertest.cc |
@@ -5829,8 +5829,7 @@ IN_PROC_BROWSER_TEST_F(NavigationControllerBrowserTest, |
// Submit the form. |
TestNavigationObserver observer(shell()->web_contents(), 1); |
- EXPECT_TRUE(ExecuteScript( |
- shell(), "window.domAutomationController.send(submitForm('isubmit'))")); |
+ ExecuteUnmodifiedScript(shell(), "submitForm('isubmit')"); |
observer.Wait(); |
EXPECT_EQ(2, controller.GetEntryCount()); |