summaryrefslogtreecommitdiff
path: root/cli/js/runtime_main.ts
diff options
context:
space:
mode:
authorOliver Lenehan <sunsetkookaburra+github@outlook.com.au>2020-05-08 22:30:53 +1000
committerGitHub <noreply@github.com>2020-05-08 14:30:53 +0200
commita08a4abac116eda498f8ad2df13b3816ec36c9ad (patch)
tree261a52fe93fc184f8af9aaf037cd74f27a532f76 /cli/js/runtime_main.ts
parentc0e8bae498b1892b994757b5f4972913c076a65e (diff)
feat(workers): "crypto" global accessible in Worker scope (#5121)
Diffstat (limited to 'cli/js/runtime_main.ts')
-rw-r--r--cli/js/runtime_main.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/cli/js/runtime_main.ts b/cli/js/runtime_main.ts
index a9787d7cb..3e81fc680 100644
--- a/cli/js/runtime_main.ts
+++ b/cli/js/runtime_main.ts
@@ -9,7 +9,6 @@
import * as denoNs from "./deno.ts";
import * as denoUnstableNs from "./deno_unstable.ts";
-import * as csprng from "./ops/get_random_values.ts";
import { exit } from "./ops/os.ts";
import {
readOnly,
@@ -57,7 +56,6 @@ function windowClose(): void {
export const mainRuntimeGlobalProperties = {
window: readOnly(globalThis),
self: readOnly(globalThis),
- crypto: readOnly(csprng),
// TODO(bartlomieju): from MDN docs (https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope)
// it seems those two properties should be available to workers as well
onload: writable(null),