Bug 1413599 - Disable the JAWS compatibility prompt in Nightly builds for testing. r=felipe
authorJim Mathies <jmathies@mozilla.com>
Thu, 02 Nov 2017 12:01:54 -0500
changeset 443137 7043cf41cae40f61bbe4476cbdf0f14dd71bf990
parent 443136 5b1cc7fdfa402533e760f1b4b5fdf9ae9dd9bcbe
child 443138 1fdce3a0396c599ad52749e1650beeb8f455d891
push id1618
push userCallek@gmail.com
push dateThu, 11 Jan 2018 17:45:48 +0000
treeherdermozilla-release@882ca853e05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfelipe
bugs1413599
milestone58.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1413599 - Disable the JAWS compatibility prompt in Nightly builds for testing. r=felipe
browser/components/nsBrowserGlue.js
--- a/browser/components/nsBrowserGlue.js
+++ b/browser/components/nsBrowserGlue.js
@@ -2912,19 +2912,21 @@ var JawsScreenReaderVersionCheck = {
   },
 
   onWindowsRestored() {
     Services.tm.dispatchToMainThread(() => this._checkVersionAndPrompt());
   },
 
   _checkVersionAndPrompt() {
     // Make sure we only prompt for versions of JAWS we do not
-    // support and never prompt if e10s is disabled.
+    // support and never prompt if e10s is disabled or if we're on
+    // nightly.
     if (!Services.appinfo.shouldBlockIncompatJaws ||
-        !Services.appinfo.browserTabsRemoteAutostart) {
+        !Services.appinfo.browserTabsRemoteAutostart ||
+        AppConstants.NIGHTLY_BUILD) {
       return;
     }
 
     let win = RecentWindow.getMostRecentBrowserWindow();
     if (!win || !win.gBrowser || !win.gBrowser.selectedBrowser) {
       Services.console.logStringMessage(
           "Content access support for older versions of JAWS is disabled " +
           "due to compatibility issues with this version of Firefox.");