Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2731)

Unified Diff: chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util_test.extjs

Issue 890013006: Reland #2: Ensure WebView notifies desktop automation on creation, destruction, and change Original (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: One more potential case. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util_test.extjs
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util_test.extjs b/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util_test.extjs
index 0a17f0af7e9bcf6b12cd76ec559a048588ef3848..90d76a81011941cbfc8d4b22bd0c372f802a7001 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util_test.extjs
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util_test.extjs
@@ -27,7 +27,7 @@ AutomationUtilE2ETest.prototype = {
};
TEST_F('AutomationUtilE2ETest', 'GetAncestors', function() {
- this.runWithAutomation(this.basicDoc,
+ this.runWithLoadedTree(this.basicDoc,
function(root) {
var expectedLength = 1;
while (root) {
@@ -40,7 +40,7 @@ TEST_F('AutomationUtilE2ETest', 'GetAncestors', function() {
});
TEST_F('AutomationUtilE2ETest', 'GetUniqueAncestors', function() {
- this.runWithAutomation(this.basicDoc, function(root) {
+ this.runWithLoadedTree(this.basicDoc, function(root) {
var leftmost = root, rightmost = root;
while (leftmost.firstChild)
leftmost = leftmost.firstChild;
@@ -83,7 +83,7 @@ TEST_F('AutomationUtilE2ETest', 'GetUniqueAncestors', function() {
});
TEST_F('AutomationUtilE2ETest', 'GetDirection', function() {
- this.runWithAutomation(this.basicDoc, function(root) {
+ this.runWithLoadedTree(this.basicDoc, function(root) {
var left = root, right = root;
// Same node.

Powered by Google App Engine
This is Rietveld 408576698