From: Timo Tijhof Date: Thu, 20 Jun 2019 17:38:57 +0000 (+0100) Subject: resourceloader: Remove 'Series60' from Grade C regex X-Git-Tag: 1.34.0-rc.0~1320^2 X-Git-Url: http://git.cyclocoop.org/%28%28?a=commitdiff_plain;h=f7334caf954ce58adee003aa51ecf4aab5b4623a;p=lhc%2Fweb%2Fwiklou.git resourceloader: Remove 'Series60' from Grade C regex This existed to match UAs from the now-discontinued SymbianOS browser, however, we already have 'SymbianOS' in the regex and all known UA variants (which we have tests for) contain that phrase as well. Change-Id: I643eb1e1df6a09873cda7d6fe2f325cd722b3ee5 --- diff --git a/resources/src/startup/startup.js b/resources/src/startup/startup.js index c251a86aa2..da048ffdff 100644 --- a/resources/src/startup/startup.js +++ b/resources/src/startup/startup.js @@ -74,7 +74,7 @@ function isCompatible( ua ) { // // Please extend the regex instead of adding new ones! // And add a test case to startup.test.js - !ua.match( /MSIE 10|webOS\/1\.[0-4]|SymbianOS|Series60|NetFront|Opera Mini|S40OviBrowser|MeeGo|Android.+Glass|^Mozilla\/5\.0 .+ Gecko\/$|googleweblight|PLAYSTATION|PlayStation/ ) + !ua.match( /MSIE 10|webOS\/1\.[0-4]|SymbianOS|NetFront|Opera Mini|S40OviBrowser|MeeGo|Android.+Glass|^Mozilla\/5\.0 .+ Gecko\/$|googleweblight|PLAYSTATION|PlayStation/ ) ); }