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
// containing an inequality (<,>,<=,>=) and a version number
'whitelist': {
'msie': [['>=', 9]],
'firefox': [['>=', 11]],
'iceweasel': [['>=', 10]],
'safari': [['>=', 5]],
'chrome': [['>=', 19]]
},
'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]],
// Blacklist all versions:
'opera': null,

View file

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