| Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js
|
| diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js
|
| index 4c04953b4c4de4423ef5c1fad28d83138dc4043f..8733b090b955fda447d205b7be08418463c699aa 100644
|
| --- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js
|
| +++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js
|
| @@ -581,6 +581,11 @@ Background.prototype = {
|
| * defaults to false.
|
| */
|
| setChromeVoxMode: function(mode, opt_injectClassic) {
|
| + // Switching key maps potentially affects the key codes that involve
|
| + // sequencing. Without resetting this list, potentially stale key codes
|
| + // remain. The key codes themselves get pushed in
|
| + // cvox.KeySequence.deserialize which gets called by cvox.KeyMap.
|
| + cvox.ChromeVox.sequenceSwitchKeyCodes = [];
|
| if (mode === ChromeVoxMode.CLASSIC || mode === ChromeVoxMode.COMPAT)
|
| cvox.ChromeVoxKbHandler.handlerKeyMap = cvox.KeyMap.fromDefaults();
|
| else
|
|
|