summaryrefslogtreecommitdiff
path: root/core/01_core.js
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-04-28 00:37:03 +0200
committerGitHub <noreply@github.com>2023-04-28 00:37:03 +0200
commit683dbd7f3bdd91c33005b816ad26b82a4343931a (patch)
tree64c6dd9a572e573040022b22575a1043add84fd0 /core/01_core.js
parent504482dadd4d8cd9e4105d56ed86802906767f39 (diff)
Revert "refactor: don't expose Deno[Deno.internal].core namespace" (#18881)
Also conditionally disabled one test if there's not enough space on device.
Diffstat (limited to 'core/01_core.js')
-rw-r--r--core/01_core.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/core/01_core.js b/core/01_core.js
index 7663db5d9..a8bdeb2a8 100644
--- a/core/01_core.js
+++ b/core/01_core.js
@@ -453,6 +453,7 @@
BadResourcePrototype,
Interrupted,
InterruptedPrototype,
+ enableOpCallTracing,
isOpCallTracingEnabled,
opCallTraces,
refOp,
@@ -506,11 +507,8 @@
});
ObjectAssign(globalThis.__bootstrap, { core });
- ObjectAssign(globalThis.__bootstrap, {
- internals: {
- enableOpCallTracing,
- },
- });
+ const internals = {};
+ ObjectAssign(globalThis.__bootstrap, { internals });
ObjectAssign(globalThis.Deno, { core });
// Direct bindings on `globalThis`