From 8922639c1dc48a8b1ed6910bfe62306d9178d70b Mon Sep 17 00:00:00 2001 From: Aaron O'Mullan Date: Fri, 30 Apr 2021 14:13:23 +0200 Subject: refactor(core.js): provide window.__bootstrap (#10423) --- bench_util/src/js_runtime.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'bench_util/src/js_runtime.rs') 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); -- cgit v1.2.3