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

Unified Diff: chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js

Issue 2387413002: Improve speech contextual announcements and startCallback synchronization (Closed)
Patch Set: Disable test; it lonly works if you have Google tts installed locally. Created 4 years, 2 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
« no previous file with comments | « chrome/browser/resources/chromeos/chromevox/host/chrome/tts_background_test.extjs ('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/testing/chromevox_next_e2e_test_base.js
diff --git a/chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js b/chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js
index 7683d4705c6d83a73aa8174ae9af7bf5cf6e251c..bd1684ef0a0a5c3feccb80f4ec461c8dca6a4884 100644
--- a/chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js
+++ b/chrome/browser/resources/chromeos/chromevox/testing/chromevox_next_e2e_test_base.js
@@ -80,5 +80,14 @@ ChromeVoxNextE2ETest.prototype = {
callback.apply(this, arguments);
});
node.addEventListener(eventType, innerCallback, capture);
+ },
+
+ /**
+ * Forces output to place context utterances at the end of output. This eases
+ * rebaselining when changing context ordering for a specific role.
+ */
+ forceContextualLastOutput: function() {
+ for (var role in Output.ROLE_INFO_)
+ Output.ROLE_INFO_[role]['outputContextFirst'] = undefined;
}
};
« no previous file with comments | « chrome/browser/resources/chromeos/chromevox/host/chrome/tts_background_test.extjs ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698