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

Avoid polluting host Function prototypes #305

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ExE-Boss
Copy link
Contributor

Fixes #52


createCurrentUnsafeRec() is only called once from realm.js to create a unsafeRec for the host’s primal Realm:

const currentUnsafeRec = createCurrentUnsafeRec();

@ExE-Boss
Copy link
Contributor Author

Looks like this will need further fixing to handle the makeCompartment() case.

@ExE-Boss ExE-Boss marked this pull request as draft September 30, 2020 19:40
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.

Function.prototype.constructor is tamed in the host
1 participant