Index: content/browser/session_history_browsertest.cc |
diff --git a/content/browser/session_history_browsertest.cc b/content/browser/session_history_browsertest.cc |
index 1263c9683e893fb98667de1fcaf6ee264fbd7f16..06ea2c22730f920884c8e9c2210b0b7631b97401 100644 |
--- a/content/browser/session_history_browsertest.cc |
+++ b/content/browser/session_history_browsertest.cc |
@@ -514,7 +514,7 @@ IN_PROC_BROWSER_TEST_F(SessionHistoryTest, HistoryLength) { |
// redirects (as mandated by https://tools.ietf.org/html/rfc7231#section-6.4.7). |
IN_PROC_BROWSER_TEST_F(SessionHistoryTest, GoBackToCrossSitePostWithRedirect) { |
GURL form_url(embedded_test_server()->GetURL( |
- "a.com", "/session_history/form_that_posts_cross_site.html")); |
+ "a.com", "/form_that_posts_cross_site.html")); |
GURL redirect_target_url(embedded_test_server()->GetURL("x.com", "/echoall")); |
GURL page_to_go_back_from( |
embedded_test_server()->GetURL("c.com", "/title1.html")); |
@@ -526,7 +526,7 @@ IN_PROC_BROWSER_TEST_F(SessionHistoryTest, GoBackToCrossSitePostWithRedirect) { |
// Submit the form. |
TestNavigationObserver form_post_observer(shell()->web_contents(), 1); |
EXPECT_TRUE(ExecuteScript(shell()->web_contents(), |
- "document.getElementById('form').submit();")); |
+ "document.getElementById('text-form').submit();")); |
form_post_observer.Wait(); |
// Verify that we arrived at the expected, redirected location. |