You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/* If in bisect mode, then just increment the build number, unless we're past the latest build. */
122
+
/* If in bisect mode, then just increment the build number, unless we're in an invalid build number. */
122
123
var scriptBuildNumberVal =parseInt(script.getAttribute('data-bnval') || buildNumberVal);
123
-
if (window.inBisectMode&& scriptBuildNumberVal) {
124
-
if (scriptBuildNumberVal >window.bisectLatestBuildNumber)
125
-
returnalert('Bisect process has gone past the latest build.');
124
+
if (window.inBisectMode&& scriptBuildNumberVal &&!(scriptBuildNumberVal <window.bisectFirstBuildNumber) &&!(scriptBuildNumberVal >window.bisectLatestBuildNumber)) /* these weird comparisons also cover NaN */
126
125
returnbisectNextBuild(scriptBuildNumberVal);
127
-
}
128
126
129
127
/* Show error message. */
130
128
buildBins.firstChild.innerHTML='Could not load build information.';
@@ -449,7 +447,7 @@ function updateBisect(btn) { /* delayed on keypress to let the input value updat
449
447
var goodBuildNumber =parseInt(document.getElementById('goodbuild').value);
450
448
var badBuildNumber =parseInt(document.getElementById('badbuild').value);
451
449
var tryMsg =document.getElementById('bisecttry');
452
-
if (!(goodBuildNumber >=885) ||!(badBuildNumber >=885)) { /* these weird comparisons also cover NaN */
450
+
if (!(goodBuildNumber >=window.bisectFirstBuildNumber) ||!(badBuildNumber >=window.bisectFirstBuildNumber)) { /* these weird comparisons also cover NaN */
0 commit comments