Commit f96adcb8 authored by xiyuan's avatar xiyuan Committed by Commit bot

cros: Clean up debugging logs.

BUG=457436
TBR=dpolukhin@chromium.org

Review URL: https://codereview.chromium.org/923343002

Cr-Commit-Position: refs/heads/master@{#316380}
parent 2f79efe6
...@@ -113,13 +113,11 @@ class LoginTest : public chromeos::LoginManagerTest { ...@@ -113,13 +113,11 @@ class LoginTest : public chromeos::LoginManagerTest {
"var frame = $('signin-frame');" "var frame = $('signin-frame');"
"var onload= function() {" "var onload= function() {"
"frame.removeEventListener('load', onload);" "frame.removeEventListener('load', onload);"
"console.error('#### onload frame.src=' + frame.src);"
"window.domAutomationController.setAutomationId(0);" "window.domAutomationController.setAutomationId(0);"
"window.domAutomationController.send('frameLoaded');" "window.domAutomationController.send('frameLoaded');"
"};" "};"
"frame.addEventListener('load', onload);" "frame.addEventListener('load', onload);"
"$('error-offline-login-link').onclick();" "$('error-offline-login-link').onclick();"
"console.error('#### original frame.src=' + frame.src);"
"})();"; "})();";
ASSERT_TRUE(content::ExecuteScript(web_contents(), js)); ASSERT_TRUE(content::ExecuteScript(web_contents(), js));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment