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

Stop enabling O.p.constructor to be overridden by assignment. #587

Merged
merged 5 commits into from
Feb 28, 2021

Conversation

erights
Copy link
Contributor

@erights erights commented Feb 27, 2021

Fixes Agoric/agoric-sdk#2324
Fixes #477

To enable Object.prototype.constructor to be overridden by assignment, we needed to make it into an accessor property. However, this confused the Node console as explained at Agoric/agoric-sdk#2324 . But not doing so had been blocked by our dependency on acorn 7 which performs such an assignment. That dependency has now been fixed by
#588
and
Agoric/agoric-sdk#2549
so we can proceed.

@erights erights self-assigned this Feb 27, 2021
@erights
Copy link
Contributor Author

erights commented Feb 27, 2021

It is interesting that this PR fails a CI test https://github.com/Agoric/SES-shim/pull/587/checks?check_run_id=1995064245 but #586 does not. I do not understand this.

@erights erights force-pushed the markm-normalize-o-p-constructor branch from 18f8fdd to 3d1067b Compare February 28, 2021 02:48
@erights erights changed the base branch from markm-yarn-lockin-acorn8 to master February 28, 2021 02:52
@erights erights changed the title Stop enabling O.p.constructor Stop enabling O.p.constructor to be overridden by assignment. Feb 28, 2021
@erights erights marked this pull request as ready for review February 28, 2021 03:16
@erights
Copy link
Contributor Author

erights commented Feb 28, 2021

@dckc @michaelfig This is finally a candidate for merging, and so ready for review.

Copy link
Member

@michaelfig michaelfig left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for persevering.

@erights erights merged commit 50389f3 into master Feb 28, 2021
@erights erights deleted the markm-normalize-o-p-constructor branch February 28, 2021 03:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants