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

Side by Side Diff: chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js

Issue 1288043002: Fix ChromeVox next tests that passed without actually running. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Leave some tests broken, makring with TODOs. They are actually broken. Created 5 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @fileoverview Provides output services for ChromeVox. 6 * @fileoverview Provides output services for ChromeVox.
7 */ 7 */
8 8
9 goog.provide('Output'); 9 goog.provide('Output');
10 goog.provide('Output.EventType'); 10 goog.provide('Output.EventType');
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 }, 416 },
417 menuItem: { 417 menuItem: {
418 speak: '$name $role $if($haspopup, @has_submenu) ' + 418 speak: '$name $role $if($haspopup, @has_submenu) ' +
419 '@describe_index($indexInParent, $parentChildCount)' 419 '@describe_index($indexInParent, $parentChildCount)'
420 }, 420 },
421 menuListOption: { 421 menuListOption: {
422 speak: '$name $value @aria_role_menuitem ' + 422 speak: '$name $value @aria_role_menuitem ' +
423 '@describe_index($indexInParent, $parentChildCount)' 423 '@describe_index($indexInParent, $parentChildCount)'
424 }, 424 },
425 paragraph: { 425 paragraph: {
426 speak: '$value' 426 speak: '$descendants'
427 }, 427 },
428 popUpButton: { 428 popUpButton: {
429 speak: '$value $name $role @aria_has_popup ' + 429 speak: '$value $name $role @aria_has_popup ' +
430 '$if($collapsed, @aria_expanded_false, @aria_expanded_true)' 430 '$if($collapsed, @aria_expanded_false, @aria_expanded_true)'
431 }, 431 },
432 radioButton: { 432 radioButton: {
433 speak: '$if($checked, @describe_radio_selected($name), ' + 433 speak: '$if($checked, @describe_radio_selected($name), ' +
434 '@describe_radio_unselected($name))' 434 '@describe_radio_unselected($name))'
435 }, 435 },
436 radioGroup: { 436 radioGroup: {
(...skipping 847 matching lines...) Expand 10 before | Expand all | Expand 10 after
1284 elem.end); 1284 elem.end);
1285 }); 1285 });
1286 spansToRemove.forEach(result.removeSpan.bind(result)); 1286 spansToRemove.forEach(result.removeSpan.bind(result));
1287 separator = Output.SPACE; 1287 separator = Output.SPACE;
1288 }); 1288 });
1289 return result; 1289 return result;
1290 } 1290 }
1291 }; 1291 };
1292 1292
1293 }); // goog.scope 1293 }); // goog.scope
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698