summaryrefslogtreecommitdiff
path: root/cli/web_worker.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/web_worker.rs')
-rw-r--r--cli/web_worker.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/web_worker.rs b/cli/web_worker.rs
index 7efec476c..5c69f8e06 100644
--- a/cli/web_worker.rs
+++ b/cli/web_worker.rs
@@ -36,9 +36,13 @@ impl WebWorker {
ops::runtime::init(isolate, &state);
ops::web_worker::init(isolate, &state, &worker.internal_channels.sender);
ops::worker_host::init(isolate, &state);
+ ops::io::init(isolate, &state);
ops::errors::init(isolate, &state);
ops::timers::init(isolate, &state);
ops::fetch::init(isolate, &state);
+ // FIXME(bartlomieju): this is added only to provide "close"
+ // op - it should be moved to `ops::io`
+ ops::files::init(isolate, &state);
}
Self {