| Index: chrome/browser/extensions/extension_incognito_apitest.cc
|
| diff --git a/chrome/browser/extensions/extension_incognito_apitest.cc b/chrome/browser/extensions/extension_incognito_apitest.cc
|
| index 694c3c68e3130a7722370344a4c80aed74b39b8a..df2b4001e98cc4d6ffb003da2f5057fd29afb8f3 100644
|
| --- a/chrome/browser/extensions/extension_incognito_apitest.cc
|
| +++ b/chrome/browser/extensions/extension_incognito_apitest.cc
|
| @@ -37,8 +37,9 @@ IN_PROC_BROWSER_TEST_F(ExtensionApiTest, IncognitoNoScript) {
|
| // Verify the script didn't run.
|
| bool result = false;
|
| ASSERT_TRUE(content::ExecuteJavaScriptAndExtractBool(
|
| - tab->GetRenderViewHost(), L"",
|
| - L"window.domAutomationController.send(document.title == 'Unmodified')",
|
| + tab->GetRenderViewHost(),
|
| + "",
|
| + "window.domAutomationController.send(document.title == 'Unmodified')",
|
| &result));
|
| EXPECT_TRUE(result);
|
| }
|
| @@ -72,8 +73,9 @@ IN_PROC_BROWSER_TEST_F(ExtensionApiTest, IncognitoYesScript) {
|
| // Verify the script ran.
|
| bool result = false;
|
| ASSERT_TRUE(content::ExecuteJavaScriptAndExtractBool(
|
| - tab->GetRenderViewHost(), L"",
|
| - L"window.domAutomationController.send(document.title == 'modified')",
|
| + tab->GetRenderViewHost(),
|
| + "",
|
| + "window.domAutomationController.send(document.title == 'modified')",
|
| &result));
|
| EXPECT_TRUE(result);
|
| }
|
|
|