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

Unified Diff: chrome/browser/resources/chromeos/chromevox/host/interface/abstract_tts.js

Issue 2383173002: Fix reading of password values. (Closed)
Patch Set: Created 4 years, 3 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/host/interface/abstract_tts.js
diff --git a/chrome/browser/resources/chromeos/chromevox/host/interface/abstract_tts.js b/chrome/browser/resources/chromeos/chromevox/host/interface/abstract_tts.js
index 226ab9a0f7a4e57b0027fd7882cf668fb338887d..9714c08094ae6722d79aeb4faa9817b12c971baa 100644
--- a/chrome/browser/resources/chromeos/chromevox/host/interface/abstract_tts.js
+++ b/chrome/browser/resources/chromeos/chromevox/host/interface/abstract_tts.js
@@ -442,7 +442,8 @@ cvox.AbstractTts.CHARACTER_DICTIONARY = {
'\t': 'tab',
'\r': 'return',
'\n': 'new_line',
- '\\': 'backslash'
+ '\\': 'backslash',
+ '\u2022': 'bullet'
};
@@ -550,7 +551,7 @@ cvox.AbstractTts.substitutionDictionaryRegexp_;
* @private
*/
cvox.AbstractTts.repetitionRegexp_ =
- /([-\/\\|!@#$%^&*\(\)=_+\[\]\{\}.?;'":<>])\1{2,}/g;
+ /([-\/\\|!@#$%^&*\(\)=_+\[\]\{\}.?;'":<>\u2022])\1{1,}/gu;
/**

Powered by Google App Engine
This is Rietveld 408576698