endojs / endo

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

refactor(ses): Replace Compartment toString property with @@toStringTag #1962

Closed rekmarks closed 9 months ago

rekmarks commented 10 months ago

Replaces the Compartment toString function with a @@toStringTag string property. This necessitated updating the permit for %CompartmentPrototype%, and some related tests. Some adjacent cleanup is also performed.

Ref: #676