diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-02-26 11:49:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-26 11:49:38 +0100 |
commit | 0e37184ca8084c257948d466c066fdb875ee44f3 (patch) | |
tree | ff7b01248d5e14987e0a9f8046029461f975d793 /cli/js/runtime_main.ts | |
parent | 5946808f66aab1983ade3db2541734bb43626a72 (diff) |
add window.self read-only property (#4131)
Diffstat (limited to 'cli/js/runtime_main.ts')
-rw-r--r-- | cli/js/runtime_main.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/js/runtime_main.ts b/cli/js/runtime_main.ts index b5517cbcb..96bda3cb0 100644 --- a/cli/js/runtime_main.ts +++ b/cli/js/runtime_main.ts @@ -32,6 +32,7 @@ Deno[Deno.symbols.internal] = internalObject; export const mainRuntimeGlobalProperties = { window: readOnly(globalThis), + self: readOnly(globalThis), Deno: readOnly(Deno), crypto: readOnly(csprng), |