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 007b5bd686485f5c944391b33ada6b6fbf68d6b1..523e200d0959ad5b670da9a1f74dd328354a809d 100644 |
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js |
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js |
@@ -627,6 +627,14 @@ Background.prototype = { |
} |
}.bind(this)); |
+ // If switching out of a ChromeVox Next mode, make sure we cancel |
+ // the progress loading sound just in case. |
+ if ((this.mode_ === ChromeVoxMode.NEXT || |
+ this.mode_ === ChromeVoxMode.FORCE_NEXT) && |
+ this.mode_ != mode) { |
+ cvox.ChromeVox.earcons.cancelEarcon(cvox.Earcon.PAGE_START_LOADING); |
+ } |
+ |
this.mode_ = mode; |
}, |