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

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

Issue 2559343002: Allow tree walker to escape roots (Closed)
Patch Set: Update the test. Created 4 years 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
« no previous file with comments | « chrome/browser/resources/chromeos/chromevox/cvox2/background/tree_walker.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/tree_walker_test.extjs
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/tree_walker_test.extjs b/chrome/browser/resources/chromeos/chromevox/cvox2/background/tree_walker_test.extjs
index 5b91ad396a37edd9a5d3cfaf15a284ebe4413b90..385190352643c54a6fee48e603071dd50d5baf5a 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/tree_walker_test.extjs
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/tree_walker_test.extjs
@@ -126,6 +126,7 @@ TEST_F('AutomationTreeWalkerTest', 'RootLeafRestriction', function() {
var walker = new AutomationTreeWalker(node2, 'forward', restrictions);
while (walker.next().node) {}
assertEquals('35', visited);
+ assertEquals(AutomationTreeWalkerPhase.OTHER, walker.phase);
// And the reverse.
// Note that walking into a root is allowed.
« no previous file with comments | « chrome/browser/resources/chromeos/chromevox/cvox2/background/tree_walker.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698