endojs / endo

Endo is a distributed secure JavaScript sandbox, based on SES
Apache License 2.0
804 stars 71 forks source link

Revitalize test262 runner #1847

Closed kriskowal closed 7 months ago

kriskowal commented 10 months ago

refs: https://github.com/endojs/endo/issues/870 closes: #812

Description

We have not been running test262 since we migrated from tape to ava for lack of a suitable runner. We have deeper needs for a test262 runner now since we would like to verify parity between node+ses and XS. This change pivots the runner from a bespoke implementation to bterlsen’s test262-harness which supports node and xs. Then, by way of demonstration, we bring in XS tests and get one of them passing in SES.

Security Considerations

Scaling Considerations

Documentation Considerations

Testing Considerations

Upgrade Considerations

kriskowal commented 8 months ago

attn @phoddie, this is the PR that’s introducing eshost based SES parity testing. It requires running our shim in a prelude to every SES test, so it’s slow, but a place to start. This also gives us a place to stand to carve out a leaner SES shim specific to XS.