From 543ae23e0e902c48267460544a13302a31b8183c Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Wed, 21 Feb 2018 12:09:57 +0000 Subject: [PATCH] Drop Grade A support for IE10 Bug: T187869 Change-Id: I68c882e64fba95d5e1bf41f64658fcef7524dcf5 --- RELEASE-NOTES-1.31 | 1 + resources/src/startup.js | 4 ++-- tests/qunit/suites/resources/startup.test.js | 5 +++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/RELEASE-NOTES-1.31 b/RELEASE-NOTES-1.31 index 2c071b53b0..f49a5822e1 100644 --- a/RELEASE-NOTES-1.31 +++ b/RELEASE-NOTES-1.31 @@ -106,6 +106,7 @@ changes to languages because of Phabricator reports. * (T187750) New language support: Spanish formal address (es-formal). === Other changes in 1.31 === +* Browser support for Internet Explorer 10 was lowered from Grade A to Grade C. * Introducing multi-content-revision capability into the storage layer. For details, see . * The Revision class was deprecated in favor of RevisionStore, BlobStore, and diff --git a/resources/src/startup.js b/resources/src/startup.js index fe0b02998b..cc313c7c74 100644 --- a/resources/src/startup.js +++ b/resources/src/startup.js @@ -30,7 +30,7 @@ window.mwNow = ( function () { * * Browsers we support in our modern run-time (Grade A): * - Chrome 13+ - * - IE 10+ + * - IE 11+ * - Firefox 4+ * - Safari 5+ * - Opera 15+ @@ -86,7 +86,7 @@ window.isCompatible = function ( str ) { // support in the modern run-time. // Note: Please extend the regex instead of adding new ones !( - ua.match( /webOS\/1\.[0-4]|SymbianOS|Series60|NetFront|Opera Mini|S40OviBrowser|MeeGo|Android.+Glass|^Mozilla\/5\.0 .+ Gecko\/$|googleweblight/ ) || + ua.match( /MSIE 10|webOS\/1\.[0-4]|SymbianOS|Series60|NetFront|Opera Mini|S40OviBrowser|MeeGo|Android.+Glass|^Mozilla\/5\.0 .+ Gecko\/$|googleweblight/ ) || ua.match( /PlayStation/i ) ) ); diff --git a/tests/qunit/suites/resources/startup.test.js b/tests/qunit/suites/resources/startup.test.js index 0866b9ecee..d8d9a3bb25 100644 --- a/tests/qunit/suites/resources/startup.test.js +++ b/tests/qunit/suites/resources/startup.test.js @@ -21,8 +21,7 @@ 'Mozilla/5.0 (Windows NT 6.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36 OPR/15.0.1147.153', 'Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.57 Safari/537.36 OPR/16.0.1196.62', 'Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36 OPR/23.0.1522.75', - // Internet Explorer 10+ - 'Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)', + // Internet Explorer 11 'Mozilla/5.0 (Windows NT 6.3; Trident/7.0; rv:11.0) like Gecko', // IE Mobile 'Mozilla/5.0 (compatible; MSIE 9.0; Windows Phone OS 7.5; Trident/5.0; IEMobile/9.0; NOKIA; Lumia 800)', @@ -107,6 +106,8 @@ blacklisted: [ /* Grade C */ + // Internet Explorer 10 + 'Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)', // PlayStation 'Mozilla/5.0 (PLAYSTATION 3; 1.10)', 'Mozilla/5.0 (PLAYSTATION 3; 3.55)', -- 2.20.1