diff options
author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2021-04-30 14:13:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-30 08:13:23 -0400 |
commit | 8922639c1dc48a8b1ed6910bfe62306d9178d70b (patch) | |
tree | 7f228a98f0b0ee043626a35a26879b5b7a78b25f /bench_util/src/js_runtime.rs | |
parent | a50dab683f0d902bcfab53ac5a351c661d816354 (diff) |
refactor(core.js): provide window.__bootstrap (#10423)
Diffstat (limited to 'bench_util/src/js_runtime.rs')
-rw-r--r-- | bench_util/src/js_runtime.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/bench_util/src/js_runtime.rs b/bench_util/src/js_runtime.rs index 0752e2097..a19eccd1f 100644 --- a/bench_util/src/js_runtime.rs +++ b/bench_util/src/js_runtime.rs @@ -8,10 +8,6 @@ use crate::profiling::is_profiling; pub fn create_js_runtime(setup: impl FnOnce(&mut JsRuntime)) -> JsRuntime { let mut rt = JsRuntime::new(Default::default()); - // Setup bootstrap namespace - rt.execute("bootstrap", "globalThis.__bootstrap = {};") - .unwrap(); - // Caller provided setup setup(&mut rt); |