tc39 / proposal-shadowrealm

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

Revert "Normative: GetFunctionRealm may throw on revoked proxies" #355

Closed leobalter closed 2 years ago

leobalter commented 2 years ago

Reverts tc39/proposal-shadowrealm#349

@legendecas can you open a new PR with the changes from #349 so we make sure we get the proper discussions and consensus at TC39? Thank you!

legendecas commented 2 years ago

@leobalter yeah, definitely. I'll try to dig into the spec to find a proper way to declare in which realm the error is thrown.

leobalter commented 2 years ago

Thanks! I'll eventually try to write down some examples of code hitting each part of the steps with and without the change. I believe the respective Test262 test is a good base for it.