News for hackers. Stuff that matters.
Re:An easier way of using polyfills by saurik on Thursday November 06, 2014 @04:42PM (#8569984)
Does anyone know why is Array.from not able to be supported on the most recent versions of Firefox? (That's the one feature where the polyfill works on older browsers but apparently does not work on newer ones.)
Re:An easier way of using polyfills by ahoge on Friday November 07, 2014 @12:43AM (#8571344)
Firefox 32+ supports it natively.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

http://kangax.github.io/compat-table/es6/

There doesn't seem to be anything wrong with Firefox 32+'s implementation.

Re:An easier way of using polyfills by saurik on Friday November 07, 2014 @04:12AM (#8571729)
Thank you; the chart indicates it is not supported natively. There is a feature on the site involving unit tests of each of the features: maybe something about that unit test isn't working on Firefox 32? (Or maybe it is just a mistake, of course.)
Re:An easier way of using polyfills by triblondon on Friday November 07, 2014 @08:24PM (#8575637)
Mozilla's implementation is the problem here, not the polyfill. The polyfill is actually (on this point) a better implementation of the spec than the one that landed in FF 32. What has happened here is that our test runner has loaded the polyfill, but it has not installed because FF passes a naive feature-detect. However, it goes on to fail the full test suite, so we conclude that the polyfill does not work (which is strictly true) and mark it accordingly on our compatibility chart.

Moz bug filed: https://bugzilla.mozilla.org/show_bug.cgi?id=924058