Commit 23cf5bd6 authored by Lukasz Anforowicz's avatar Lukasz Anforowicz Committed by Commit Bot

Fix domAutomationController.sendWithId -> send transition from r499728.

r499728 has incorrectly translated domAutomationController.sendWithId
calls into domAutomationController.send calls - the first argument of
the calls should have been dropped.  This CL fixes this.

Bug: 662543
Change-Id: If06e033ddddfe3e86000c2cbd68e49f9039dd706
Reviewed-on: https://chromium-review.googlesource.com/741921Reviewed-by: default avatarNick Carter <nick@chromium.org>
Reviewed-by: default avatarRoger Tawa <rogerta@chromium.org>
Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org>
Cr-Commit-Position: refs/heads/master@{#517121}
parent 524aad83
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
/* Adds an event with the given name to the AutomationEventQueue. */ /* Adds an event with the given name to the AutomationEventQueue. */
function raiseEvent(str) { function raiseEvent(str) {
if (window.domAutomationController) { if (window.domAutomationController) {
window.domAutomationController.send(4444, str); window.domAutomationController.send(str);
} }
} }
......
...@@ -52,7 +52,7 @@ function submitAndGo() { ...@@ -52,7 +52,7 @@ function submitAndGo() {
function onAuthError() { function onAuthError() {
if (window.domAutomationController) { if (window.domAutomationController) {
window.domAutomationController.send(4444, 'loginfail'); window.domAutomationController.send('loginfail');
} }
} }
......
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