Index: content/browser/session_history_browsertest.cc |
=================================================================== |
--- content/browser/session_history_browsertest.cc (revision 174946) |
+++ content/browser/session_history_browsertest.cc (working copy) |
@@ -431,18 +431,14 @@ |
int length; |
ASSERT_TRUE(ExecuteJavaScriptAndExtractInt( |
shell()->web_contents()->GetRenderViewHost(), |
- "", |
- "domAutomationController.send(history.length)", |
- &length)); |
+ L"", L"domAutomationController.send(history.length)", &length)); |
EXPECT_EQ(1, length); |
NavigateToURL(shell(), GetURL("title1.html")); |
ASSERT_TRUE(ExecuteJavaScriptAndExtractInt( |
shell()->web_contents()->GetRenderViewHost(), |
- "", |
- "domAutomationController.send(history.length)", |
- &length)); |
+ L"", L"domAutomationController.send(history.length)", &length)); |
EXPECT_EQ(2, length); |
// Now test that history.length is updated when the navigation is committed. |
@@ -450,9 +446,7 @@ |
ASSERT_TRUE(ExecuteJavaScriptAndExtractInt( |
shell()->web_contents()->GetRenderViewHost(), |
- "", |
- "domAutomationController.send(history.length)", |
- &length)); |
+ L"", L"domAutomationController.send(history.length)", &length)); |
EXPECT_EQ(3, length); |
GoBack(); |
@@ -463,9 +457,7 @@ |
ASSERT_TRUE(ExecuteJavaScriptAndExtractInt( |
shell()->web_contents()->GetRenderViewHost(), |
- "", |
- "domAutomationController.send(history.length)", |
- &length)); |
+ L"", L"domAutomationController.send(history.length)", &length)); |
EXPECT_EQ(2, length); |
} |