Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kill obsolete repair-legacy-accessors #552

Merged
merged 1 commit into from
Mar 25, 2021

Conversation

erights
Copy link
Contributor

@erights erights commented Dec 25, 2020

What are the minimal implementations of JS that the SES-shim should support? I ask because I'd like to delete
https://github.com/Agoric/SES-shim/blob/master/packages/ses/src/repair-legacy-accessors.js
from the SES-shim implementation. A good test to see if it is needed is

(0, Object.prototype.__lookupGetter__)('x');

On all platforms of interest to us this throws. If there's a platform of interest where it does not, that would be a reason to keep it and reject or postpone this PR. Making this PR a WIP Draft so it doesn't get merged until we resolve this question.

Attn @danfinlay @kumavis please consider yourself reviewers. (For some reason I do not seem to be able to add you as reviewers.)

@erights erights self-assigned this Feb 25, 2021
@kriskowal
Copy link
Member

I imagine this would be a safe change, or at least one we could revert if we found cause.

I believe we will have more leeway to add @kumavis @danfinlay and others as reviewers when they are repository collaborators or organization members, and that might be around the corner when we move this to https://github.com/endojs

@erights erights requested a review from danfinlay March 15, 2021 05:29
@erights
Copy link
Contributor Author

erights commented Mar 15, 2021

I imagine this would be a safe change, or at least one we could revert if we found cause.

I believe we will have more leeway to add @kumavis @danfinlay and others as reviewers when they are repository collaborators or organization members, and that might be around the corner when we move this to https://github.com/endojs

I was able to add @danfinlay but not @kumavis .

Hi @danfinlay !

@erights erights changed the title WIP kill obsolete repair-legacy-accessors Kill obsolete repair-legacy-accessors Mar 15, 2021
@erights erights marked this pull request as ready for review March 15, 2021 05:30
@erights
Copy link
Contributor Author

erights commented Mar 15, 2021

This is now ready for review.

@kriskowal kriskowal requested a review from kumavis March 25, 2021 04:27
Copy link
Member

@kumavis kumavis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ive never identified a need for it or fully understood what it was for
happy to see it removed and report if that causes an issue somehow

metamask build sys + lavamoat already dropped node 10, as it went EOL

not sure what targets this workaround is for, but unlikely we support them

@erights erights merged commit be202b9 into master Mar 25, 2021
@erights erights deleted the repair-repair-legacy-accessors branch March 25, 2021 04:43
erights added a commit that referenced this pull request Mar 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants