summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos
diff options
context:
space:
mode:
authorcraigdh@chromium.org <craigdh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-26 19:36:23 +0000
committercraigdh@chromium.org <craigdh@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-26 19:36:23 +0000
commit09f3707c586fb1a1fe4c46765509953d6d6f4871 (patch)
tree01ef25b5b608bed3a86d58d676b044f3433e5913 /chrome/browser/chromeos
parent00577aabd2f626429649e374ac9583f1eb47e862 (diff)
downloadchromium_src-09f3707c586fb1a1fe4c46765509953d6d6f4871.zip
chromium_src-09f3707c586fb1a1fe4c46765509953d6d6f4871.tar.gz
chromium_src-09f3707c586fb1a1fe4c46765509953d6d6f4871.tar.bz2
Modified DomAutomationController to expose a new Javascript method sendWithId() and updated the event queue tests to use it.
All DomAutomationController messages need to be coupled with an automation routing id. This was previously done by setting the id through a separate javascript functional call. However, events introduce a race condition where an event raised between the call to set the automation id and actually sending the message would leave the DomAutomationController with a cleared Automation Id and the send() message would fail. A new method sendWithId() allows events to send a message with an automation id in an atomic fashion, without disrupting the automation id held by the DomAutomationController. Change-Id: Ia6be9108ce881ee1a063fc6ff1844587bf122f50 BUG= TEST=functional/apptest.py Review URL: http://codereview.chromium.org/9655002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128971 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos')
0 files changed, 0 insertions, 0 deletions