summaryrefslogtreecommitdiff
path: root/runtime/js/99_main.js
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/js/99_main.js')
-rw-r--r--runtime/js/99_main.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js
index aaf12a1c4..944a9f4a4 100644
--- a/runtime/js/99_main.js
+++ b/runtime/js/99_main.js
@@ -641,11 +641,6 @@ function bootstrapMainRuntime(runtimeOptions, warmup = false) {
});
}
- // TODO(iuioiua): remove in Deno v2. This allows us to dynamically delete
- // class properties within constructors for classes that are not defined
- // within the Deno namespace.
- internals.future = true;
-
removeImportedOps();
performance.setTimeOrigin(DateNow());
@@ -834,9 +829,6 @@ function bootstrapMainRuntime(runtimeOptions, warmup = false) {
nodeDebug,
});
}
- if (internals.future) {
- delete globalThis.window;
- }
} else {
// Warmup
}
@@ -865,11 +857,6 @@ function bootstrapWorkerRuntime(
7: nodeDebug,
} = runtimeOptions;
- // TODO(iuioiua): remove in Deno v2. This allows us to dynamically delete
- // class properties within constructors for classes that are not defined
- // within the Deno namespace.
- internals.future = true;
-
performance.setTimeOrigin(DateNow());
globalThis_ = globalThis;