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

Unified Diff: content/browser/frame_host/navigation_controller_impl_browsertest.cc

Issue 2478803003: Remove DOMAutomationController::automation_id_ (Closed)
Patch Set: More of: Fixing issues caught by extra |expected_response| checks in ExecuteScript function. Created 3 years, 5 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: 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());

Powered by Google App Engine
This is Rietveld 408576698