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

fix: crypto is not accessible in a Worker scope #5121

Merged
merged 8 commits into from
May 8, 2020
Merged

fix: crypto is not accessible in a Worker scope #5121

merged 8 commits into from
May 8, 2020

Conversation

sunsetkookaburra
Copy link
Contributor

Closes #5111
move crypto to globals/sharedGlobals

@sunsetkookaburra
Copy link
Contributor Author

sunsetkookaburra commented May 7, 2020

oops,
included wrong commits
(edit: fixed :D)

@sunsetkookaburra sunsetkookaburra changed the title fix: crypto is not accessible in a Worker scope fix: crypto is not accessible in a Worker scope + re-enable Worker Deno test May 7, 2020
Comment on lines 1 to 4
const w1 = new Worker("./039_worker_deno_ns/has_ns.ts", {
type: "module",
deno: true,
});
Copy link
Member

Choose a reason for hiding this comment

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

Revert; these files are being removed in #5128; please add a test case to cli/tests/worker_test.ts

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

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

Looks good, but please revert changes to integration tests

@sunsetkookaburra
Copy link
Contributor Author

@bartlomieju Do I need to squash the commits into one, or will the PR put them into a single commit?

@bartlomieju
Copy link
Member

@bartlomieju Do I need to squash the commits into one, or will the PR put them into a single commit?

That's not needed, we'll squash them when merging

@sunsetkookaburra sunsetkookaburra changed the title fix: crypto is not accessible in a Worker scope + re-enable Worker Deno test fix: crypto is not accessible in a Worker scope May 7, 2020
@sunsetkookaburra
Copy link
Contributor Author

this should be ready now

Copy link
Member

@bartlomieju bartlomieju 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 @sunsetkookaburra

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.

crypto is not accessible in a Worker scope
2 participants