From f7334caf954ce58adee003aa51ecf4aab5b4623a Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Thu, 20 Jun 2019 18:38:57 +0100 Subject: [PATCH] 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 --- resources/src/startup/startup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/ ) ); } -- 2.20.1