Index: content/browser/security_exploit_browsertest.cc |
diff --git a/content/browser/security_exploit_browsertest.cc b/content/browser/security_exploit_browsertest.cc |
index 43f8dc2e237c042309dd9f072760d0641e1032cf..0a3c9b8e63b7859ae137842673d06298c26064c7 100644 |
--- a/content/browser/security_exploit_browsertest.cc |
+++ b/content/browser/security_exploit_browsertest.cc |
@@ -401,8 +401,8 @@ IN_PROC_BROWSER_TEST_F(SecurityExploitBrowserTest, |
// Send a second message from the interstitial page, and make sure that the |
// "evil" message doesn't arrive in the intervening period. |
- ASSERT_TRUE(ExecuteScript(interstitial_page->GetMainFrame(), |
- "window.domAutomationController.send(\"okay2\");")); |
+ ExecuteUnmodifiedScript(interstitial_page->GetMainFrame(), |
+ "window.domAutomationController.send(\"okay2\");"); |
ASSERT_TRUE(message_queue.WaitForMessage(&message)); |
ASSERT_EQ("\"okay2\"", message); |
ASSERT_EQ("\"okay2\"", interstitial->last_command()); |