Index: content/browser/security_exploit_browsertest.cc |
diff --git a/content/browser/security_exploit_browsertest.cc b/content/browser/security_exploit_browsertest.cc |
index d1450aeb5ac20f752e81ed28aece5b87e96b48fb..0d9f5c53fd2b09abba2b686e03806dbc507013bd 100644 |
--- a/content/browser/security_exploit_browsertest.cc |
+++ b/content/browser/security_exploit_browsertest.cc |
@@ -402,8 +402,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()); |