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

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

Issue 2649373002: Re-land: Update json_schema_compiler to handle the Automation extension API (Closed)
Patch Set: Fix presubmit Created 3 years, 11 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/live_regions_test.extjs
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/live_regions_test.extjs b/chrome/browser/resources/chromeos/chromevox/cvox2/background/live_regions_test.extjs
index 88d7d53a0162fa7e21d1e326f046ef635310ae93..8673a2fe6f5a89688bf05d5d1269080f56df6913 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/live_regions_test.extjs
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/live_regions_test.extjs
@@ -61,7 +61,7 @@ TEST_F('LiveRegionsTest', 'LiveRegionAddElement', function() {
</script>
*/},
function(rootNode) {
- var go = rootNode.find({ role: RoleType.button });
+ var go = rootNode.find({ role: RoleType.BUTTON });
mockFeedback.call(go.doDefault.bind(go))
.expectCategoryFlushSpeech('Hello, world');
mockFeedback.replay();
@@ -82,7 +82,7 @@ TEST_F('LiveRegionsTest', 'LiveRegionRemoveElement', function() {
</script>
*/},
function(rootNode) {
- var go = rootNode.find({ role: RoleType.button });
+ var go = rootNode.find({ role: RoleType.BUTTON });
go.doDefault();
mockFeedback.expectCategoryFlushSpeech('removed:')
.expectQueuedSpeech('Hello, world');
@@ -107,7 +107,7 @@ TEST_F('LiveRegionsTest', 'LiveRegionChangeAtomic', function() {
</script>
*/},
function(rootNode) {
- var go = rootNode.find({ role: RoleType.button });
+ var go = rootNode.find({ role: RoleType.BUTTON });
mockFeedback.call(go.doDefault.bind(go))
.expectCategoryFlushSpeech('Alpha Bravo Charlie')
mockFeedback.replay();
@@ -135,7 +135,7 @@ TEST_F('LiveRegionsTest', 'LiveRegionChangeImageAlt', function() {
</script>
*/},
function(rootNode) {
- var go = rootNode.find({ role: RoleType.button });
+ var go = rootNode.find({ role: RoleType.BUTTON });
mockFeedback.call(go.doDefault.bind(go))
.expectCategoryFlushSpeech('After')
.expectQueuedSpeech('Image');
@@ -160,7 +160,7 @@ TEST_F('LiveRegionsTest', 'LiveRegionThenFocus', function() {
</script>
*/},
function(rootNode) {
- var go = rootNode.find({ role: RoleType.button });
+ var go = rootNode.find({ role: RoleType.BUTTON });
mockFeedback.call(go.doDefault.bind(go))
.expectCategoryFlushSpeech('Live')
.expectQueuedSpeech('Focus');
@@ -185,7 +185,7 @@ TEST_F('LiveRegionsTest', 'FocusThenLiveRegion', function() {
</script>
*/},
function(rootNode) {
- var go = rootNode.find({ role: RoleType.button });
+ var go = rootNode.find({ role: RoleType.BUTTON });
mockFeedback.call(go.doDefault.bind(go))
.expectQueuedSpeech('Focus')
.expectCategoryFlushSpeech('Live');
@@ -214,7 +214,7 @@ TEST_F('LiveRegionsTest', 'LiveRegionCategoryFlush', function() {
</script>
*/},
function(rootNode) {
- var go = rootNode.find({ role: RoleType.button });
+ var go = rootNode.find({ role: RoleType.BUTTON });
mockFeedback.call(go.doDefault.bind(go))
.expectCategoryFlushSpeech('Live1')
.expectCategoryFlushSpeech('Live2');

Powered by Google App Engine
This is Rietveld 408576698