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

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

Issue 1003283002: Enable chrome.automation.getDesktop on all aura platforms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Actions. Created 5 years, 9 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/background_test.extjs
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs b/chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs
index 0d336cb51994adbc2c47206ca8c89c0cdcb8d935..24f6150d8341fd99f8a9d659307df2d73feca1c7 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/background_test.extjs
@@ -69,29 +69,6 @@ SYNC_TEST_F('BackgroundTest', 'NextNamespaces', function() {
assertEquals('function', typeof(Background));
});
-/** Tests that ChromeVox reads the desktop tree. */
-TEST_F('BackgroundTest', 'DesktopFocus', function() {
- function findStatusTray(root) {
- if (root.role == chrome.automation.RoleType.button &&
- root.attributes.name &&
- root.attributes.name.indexOf('Status tray') != -1) {
- return root;
- }
- for (var i = 0; i < root.children.length; i++) {
- var found = findStatusTray(root.children[i]);
- if (found)
- return found;
- }
- return null;
- }
-
- chrome.automation.getDesktop(this.newCallback(function(root) {
- var testButton = findStatusTray(root);
- cvox.ChromeVox.tts.expectSpeech('Status tray', this.newCallback());
- testButton.focus();
- }));
-});
-
/** Tests feedback once a page loads. */
TEST_F('BackgroundTest', 'MANUAL_InitialFeedback', function() {
cvox.ChromeVox.tts.expectSpeech('start', this.newCallback());

Powered by Google App Engine
This is Rietveld 408576698