| Index: content/browser/session_history_browsertest.cc
|
| diff --git a/content/browser/session_history_browsertest.cc b/content/browser/session_history_browsertest.cc
|
| index 4f801271466e52bf2451c775a38dc905f70292d9..acd569d6c8ab44079541faaf1b4ebb1ede4f9160 100644
|
| --- a/content/browser/session_history_browsertest.cc
|
| +++ b/content/browser/session_history_browsertest.cc
|
| @@ -506,7 +506,7 @@
|
| // 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", "/form_that_posts_cross_site.html"));
|
| + "a.com", "/session_history/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"));
|
| @@ -518,7 +518,7 @@
|
| // Submit the form.
|
| TestNavigationObserver form_post_observer(shell()->web_contents(), 1);
|
| EXPECT_TRUE(
|
| - ExecuteScript(shell(), "document.getElementById('text-form').submit();"));
|
| + ExecuteScript(shell(), "document.getElementById('form').submit();"));
|
| form_post_observer.Wait();
|
|
|
| // Verify that we arrived at the expected, redirected location.
|
|
|