Last modified: 2014-06-19 02:37:52 UTC
oojs uses ES5 features such as Object.create, which are only supported in recent browsers (e.g. IE10 and up). oojs should incorporate or at least recommend a polyfill or shim that implements needed features on less advanced browsers. See https://www.mediawiki.org/wiki/Ooui#Browser_compatibility
https://kangax.github.io/compat-table/es5/ and http://blogs.msdn.com/b/ie/archive/2010/06/25/enhanced-scripting-in-ie9-ecmascript-5-support-and-more.aspx both indicate IE9 supports almost all of ECMAScript 5 (everything but strict mode) Is that correct?
(In reply to Matthew Flaschen from comment #1) > https://kangax.github.io/compat-table/es5/ and > http://blogs.msdn.com/b/ie/archive/2010/06/25/enhanced-scripting-in-ie9- > ecmascript-5-support-and-more.aspx both indicate IE9 supports almost all of > ECMAScript 5 (everything but strict mode) > > Is that correct? Yes; we're waiting on bug 66390 to be resolved so that we can provide a shim for IE7 and IE8 for OOjs and OOjs UI.
Change 140436 had a related patch set uploaded by Krinkle: Implement support for ES3 browsers (tests passing in IE8!) https://gerrit.wikimedia.org/r/140436
Change 140436 merged by jenkins-bot: Implement support for ES3 browsers (tests passing in IE6-8!) https://gerrit.wikimedia.org/r/140436