tc39 / proposal-shadowrealm

ECMAScript Proposal, specs, and reference implementation for Realms
https://tc39.es/proposal-shadowrealm/
1.44k stars 67 forks source link

Fixes #353: Normative changes for `Error.message` #382

Closed caridy closed 1 year ago

caridy commented 1 year ago

This PR introduces 1 normative change:

Refactor PR to make it simpler to recognize when an error must be copied over the callable boundary into the caller realm, whether that's a result of evaluation, importValue or just calling a wrapped function.

This PR is the result of the achieved consensus during the Dic 1st, 2022 Plenary discussion.