facebook / hermes

A JavaScript engine optimized for running React Native.
https://hermesengine.dev/
MIT License
9.87k stars 632 forks source link

Expose test262 results with releases #59

Open AMorgaut opened 5 years ago

AMorgaut commented 5 years ago

I've been looking into your test262 compliance (official ECMAScript test suite), and I've seen your blacklist file.

I totally get that this engine is very new and this is then a work in progress. But to better allow early-stage users to decide in which condition they should try it, I guess it would be very nice to expose the supported (and not supported) ECMAScript features as per the test262 full results.

Maybe could you even fill the Kangax ECMAScript compatibility table with the results

Thanks

avp commented 5 years ago

We have a more human-readable list of features we do and don't support at Features.md.

In terms of the more granular information provided by a precise list of which test262 tests Hermes passes, the blacklist file is always kept up to date in terms of exactly which tests we mean to continue to support.

Hermes is, as you said, a work in progress. As such, the list of features we support changes rapidly. However, if members of the community would like to submit Hermes into the Kangax compatibility tables, we will happily help people learn to test whether Hermes supports features.

Also of interest is the comment here regarding the use of Babel in the React Native build pipeline, which attempts to prevent developers from needing to precisely track details of what language features Hermes does and does not support.

ljharb commented 5 years ago

It may be possible to add Hermes to the list on https://test262.report as well?

AMorgaut commented 5 years ago

It may be possible to add Hermes to the list on test262.report as well?

that would be great!

jthoward64 commented 10 months ago

It may be possible to add Hermes to the list on https://test262.report as well?

Update: It seems to be on there now