Update Firefox 41 hang workaround for 41.0.2

Cherry-picked from b4e3561 on master.
This commit is contained in:
Calvin Walton 2015-10-15 14:05:12 -04:00
parent 25be565449
commit f6adcde830

View File

@ -27,14 +27,14 @@
<script src="lib/deployJava.js?v=VERSION" language="javascript"></script>
<script type="text/javascript">
// Check for Firefox 41.0.1 to workaround Flash hang
// Check for Firefox 41.0.1/2 to workaround Flash hang
// See https://bugzilla.mozilla.org/show_bug.cgi?id=1210665
var ffHangWorkaround = function() {
if (navigator.userAgent.indexOf("Windows") != -1 &&
(navigator.userAgent.indexOf("Firefox/41.0") != -1 &&
navigator.buildID > "20150928" &&
navigator.buildID < "20151002")) {
console.log("Browser appears to be Firefox 41.0.1 on Windows");
navigator.buildID < "20151015")) {
console.log("Browser appears to be Firefox 41.0.1 or .2 on Windows");
return true;
}
return false;