Reland #4: Ensure WebView notifies desktop automation on creation, destruction, and...
commit47cb3b3798d325f3083565a05a2dcdaee117c296
authordtseng <dtseng@chromium.org>
Thu, 19 Feb 2015 01:19:35 +0000 (18 17:19 -0800)
committerCommit bot <commit-bot@chromium.org>
Thu, 19 Feb 2015 01:20:25 +0000 (19 01:20 +0000)
tree1d3ebc3f23dd3707eef26d3b7d9b118433a9239f
parentf6ee6a2238d1ba7032a09d335cfc9a9d5d870232
Reland #4: Ensure WebView notifies desktop automation on creation, destruction, and change

Previous attempts:
https://codereview.chromium.org/880063002
https://codereview.chromium.org/895623003/
https://codereview.chromium.org/890013006/
https://codereview.chromium.org/907973004/

This latest attempt removes the logic that reloads ChromeVox at the beginning of a test.

Locally, under extremely heavy load, tests progressively ran slowe. The same copy of a test ran 1 second slower than a previous copy. Ultimately, this led to a timeout.

With the above change, this no longer occurs and hopefully fixes the flakeyness.

Change is located in chromevox_e2e_test_base.js.

TBR=dmazzoni@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#316950}
18 files changed:
chrome/browser/resources/chromeos/chromevox/common/chrome_extension_externs.js
chrome/browser/resources/chromeos/chromevox/common/editable_text_base.js
chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util.js
chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util_test.extjs
chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js
chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs
chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors_test.extjs
chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js
chrome/browser/resources/chromeos/chromevox/cvox2/background/output_test.extjs
chrome/browser/resources/chromeos/chromevox/testing/chromevox_e2e_test_base.js
chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js
chrome/browser/resources/chromeos/chromevox/testing/mock_tts.js
chrome/renderer/resources/extensions/automation/automation_node.js
ui/views/accessibility/ax_aura_obj_cache.cc
ui/views/accessibility/ax_aura_obj_cache.h
ui/views/accessibility/ax_widget_obj_wrapper.cc
ui/views/controls/webview/webview.cc
ui/views/controls/webview/webview.h