You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refs: #2990
## Description
This change synchronizes the error repair mechanism in SES with changes
made in #2990 to pass-style to gratutiously improve the resilience of
that mechanism in the face of scripts that ran before SES.
### Security Considerations
This reduces SES vulnerability to corruption from code that runs before
SES. Replacing the TypeError constructor cannot confuse SES with regard
to whether the platform produces type errors with own stack properties.
### Scaling Considerations
None.
### Documentation Considerations
None.
### Testing Considerations
We cover versions of Node.js with and without own stack properties in CI
and existing tests should be sufficient.
### Compatibility Considerations
Programs that previously deceived SES may now fail when initializing
SES. We consider such programs compromised and that incompatibility is a
feature.
### Upgrade Considerations
None.
0 commit comments