Revert of Reland #2: Ensure WebView notifies desktop automation on creation,...
Revert of Reland #2: Ensure WebView notifies desktop automation on creation, destruction, and change Original (patchset #7 id:120001 of https://codereview.chromium.org/890013006/) Reason for revert: Suspected to cause chromeos vox test failure: http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Tests%20%281%29/builds/56046 Original issue's description: > Reland #2: Ensure WebView notifies desktop automation on creation, destruction, and change > > Original issue: https://codereview.chromium.org/880063002 > Previous reland attempt: https://codereview.chromium.org/895623003/ > > This cl changes the way in which ChromeVox initially verbalizes a page which led to flakeyness in > chromevox_tests --gtest_filter=BackgroundTest.* > > To attempt and address the flakeyness, > - chromevox_e2e_test_base.js and chromevox_next_e2e_test_base.js now explicitly separates listening to page load events from the chrome.automation tree and the chrome.tabs APIs. > They are named: runWithLoadedTree, runWithLoadedTab, and runWithTab. The last method allows a caller to create a tab, but not wait for it to load (based on the tab status being 'complete'). > - each test in background_test now no longer waits for ChromeVox to speak 'start' (which formerly could have been triggered by a loadComplete automation event). > - tab creation is still done via the tabs API, but listening for load is done via chrome.automation. (i.e. add a listener for an automation tree to load completely, then create a tab). > > It is not known at this time if this cl will continue to cause flakes in the above tests. Try bots and local runs yielded no flakeyness. The next step may be to introduce logging to identify the source of the flakeyness. > > TBR=tfarina > > Committed: https://crrev.com/9b006b56ca402da3774708f08e062c89018d57a6 > Cr-Commit-Position: refs/heads/master@{#315362} TBR=dmazzoni@chromium.org,tfarina@chromium.org,dtseng@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/910013002 Cr-Commit-Position: refs/heads/master@{#315373}
Showing
Please register or sign in to comment