| 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());
|
|
|