mw.ViewPageTarget: Blacklist IE9/IE10 until blocking issues are resolved

Bug: 49187
Change-Id: I2ee2e33c89cac58863c9911fc3ad250c72a46206
This commit is contained in:
Timo Tijhof 2013-06-23 16:47:32 -07:00
parent b48ff35827
commit ef6fae606f
2 changed files with 8 additions and 5 deletions

View file

@ -185,14 +185,17 @@ ve.init.mw.ViewPageTarget.compatibility = {
// The value is either null (match all versions) or a list of tuples // The value is either null (match all versions) or a list of tuples
// containing an inequality (<,>,<=,>=) and a version number // containing an inequality (<,>,<=,>=) and a version number
'whitelist': { 'whitelist': {
'msie': [['>=', 9]],
'firefox': [['>=', 11]], 'firefox': [['>=', 11]],
'iceweasel': [['>=', 10]], 'iceweasel': [['>=', 10]],
'safari': [['>=', 5]], 'safari': [['>=', 5]],
'chrome': [['>=', 19]] 'chrome': [['>=', 19]]
}, },
'blacklist': { 'blacklist': {
'msie': [['<', 9]], // IE <= 8 has various incompatibilities in layout and feature support
// IE9 and IE10 generally work but fail in ajax handling when making POST
// requests to the VisualEditor/Parsoid API which is causing silent failures
// when trying to save a page (bug 49187)
'msie': [['<=', 10]],
'android': [['<', 3]], 'android': [['<', 3]],
// Blacklist all versions: // Blacklist all versions:
'opera': null, 'opera': null,

View file

@ -28,12 +28,12 @@ QUnit.test( 'compatibility', function ( assert ) {
{ {
'msg': 'IE9', 'msg': 'IE9',
'userAgent': 'Mozilla/5.0 (Windows; U; MSIE 9.0; Windows NT 9.0; en-US)', 'userAgent': 'Mozilla/5.0 (Windows; U; MSIE 9.0; Windows NT 9.0; en-US)',
'matches': [ 'whitelist' ] 'matches': [ 'blacklist' ]
}, },
{ {
'msg': 'IE10', 'msg': 'IE10',
'userAgent': 'Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)', 'userAgent': 'Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)',
'matches': [ 'whitelist' ] 'matches': [ 'blacklist' ]
}, },
{ {
'msg': 'Firefox 10', 'msg': 'Firefox 10',