summaryrefslogtreecommitdiff
path: root/runtime/js/99_main.js
diff options
context:
space:
mode:
authorYusuke Tanaka <yusuktan@maguro.dev>2021-07-26 20:52:59 +0900
committerGitHub <noreply@github.com>2021-07-26 13:52:59 +0200
commit865d9ddd51dcc8776bf8c3976057e2f29a1a5af2 (patch)
treeecaf2293a4534726c56722875c628ea14bfad559 /runtime/js/99_main.js
parentdf26a3563edd501380d5d5da5138eb67acb06645 (diff)
refactor: use `primordials` in runtime, extensions and core (#11500)
Diffstat (limited to 'runtime/js/99_main.js')
-rw-r--r--runtime/js/99_main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js
index 834e692f6..a48105559 100644
--- a/runtime/js/99_main.js
+++ b/runtime/js/99_main.js
@@ -552,7 +552,7 @@ delete Object.prototype.__proto__;
ObjectDefineProperties(globalThis, windowOrWorkerGlobalScope);
ObjectDefineProperties(globalThis, workerRuntimeGlobalProperties);
ObjectDefineProperties(globalThis, { name: util.readOnly(name) });
- Object.setPrototypeOf(globalThis, DedicatedWorkerGlobalScope.prototype);
+ ObjectSetPrototypeOf(globalThis, DedicatedWorkerGlobalScope.prototype);
const consoleFromDeno = globalThis.console;
wrapConsole(consoleFromDeno, consoleFromV8);