Last modified: 2014-06-19 02:37:52 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T58341, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56341 - OOjs: Document features that need a polyfill in ES3 and recommended a shim
OOjs: Document features that need a polyfill in ES3 and recommended a shim
Status: RESOLVED FIXED
Product: OOjs
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: High enhancement
: ---
Assigned To: Krinkle
:
Depends on: 63303
Blocks: 66804
  Show dependency treegraph
 
Reported: 2013-10-29 20:37 UTC by spage
Modified: 2014-06-19 02:37 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description spage 2013-10-29 20:37:16 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
Comment 1 Matthew Flaschen 2014-06-09 19:21:59 UTC
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?
Comment 2 James Forrester 2014-06-09 19:28:37 UTC
(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.
Comment 3 Gerrit Notification Bot 2014-06-18 19:14:02 UTC
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
Comment 4 Gerrit Notification Bot 2014-06-19 02:29:25 UTC
Change 140436 merged by jenkins-bot:
Implement support for ES3 browsers (tests passing in IE6-8!)

https://gerrit.wikimedia.org/r/140436

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links