summaryrefslogtreecommitdiff
path: root/runtime/js/01_internals.js
diff options
context:
space:
mode:
authorLuca Casonato <lucacasonato@yahoo.com>2021-03-12 21:23:59 +0100
committerGitHub <noreply@github.com>2021-03-12 21:23:59 +0100
commit0770449c938cdd0edbadaf1e87e460b21fc1b4ef (patch)
tree649807f55ed9e03f1d1cd5291295e8d4ff5345da /runtime/js/01_internals.js
parente83ff62ccbe33ad9c19cb9cab9154b6767d6d74b (diff)
refactor: move Console to op_crates/console (#9770)
Diffstat (limited to 'runtime/js/01_internals.js')
-rw-r--r--runtime/js/01_internals.js24
1 files changed, 0 insertions, 24 deletions
diff --git a/runtime/js/01_internals.js b/runtime/js/01_internals.js
deleted file mode 100644
index 4843bf3da..000000000
--- a/runtime/js/01_internals.js
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
-"use strict";
-
-((window) => {
- const internalSymbol = Symbol("Deno.internal");
-
- // The object where all the internal fields for testing will be living.
- const internalObject = {};
-
- // Register a field to internalObject for test access,
- // through Deno[Deno.internal][name].
- function exposeForTest(name, value) {
- Object.defineProperty(internalObject, name, {
- value,
- enumerable: false,
- });
- }
-
- window.__bootstrap.internals = {
- internalSymbol,
- internalObject,
- exposeForTest,
- };
-})(this);