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

bootstrap SES shim on xsnap #2194

Merged
merged 6 commits into from
Jan 14, 2021
Merged

bootstrap SES shim on xsnap #2194

merged 6 commits into from
Jan 14, 2021

Conversation

dckc
Copy link
Member

@dckc dckc commented Jan 14, 2021

No description provided.

@dckc dckc requested review from warner and kriskowal January 14, 2021 02:38
packages/xs-vat-worker/package.json Outdated Show resolved Hide resolved
packages/xsnap/src/xsnap.c Show resolved Hide resolved
packages/xs-vat-worker/test/test-boot-lockdown.js Outdated Show resolved Hide resolved
packages/xs-vat-worker/src/console-shim.js Show resolved Hide resolved
@dckc dckc marked this pull request as ready for review January 14, 2021 03:03
yarn.lock Outdated Show resolved Hide resolved
@dckc dckc force-pushed the xs-vat-lockdown branch 2 times, most recently from 7b8f701 to 38c6b93 Compare January 14, 2021 03:26
dckc added 5 commits January 13, 2021 21:35
 - add ses dependency
 - noop console, since xsnap no longer provides `print`
 - re-package XS ArrayBuffer.fromString() extension as
   TextEncoder.prototype.encode
 - use `xsStringBuffer()` C API rather than `String.fromArrayBuffer`
   JS API so that xsnap eval continues to work after `lockdown()`.
Copy link
Member

@warner warner left a comment

Choose a reason for hiding this comment

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

LGTM

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