diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-02-21 10:35:41 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-21 10:35:41 -0500 |
commit | d9efb8c02a0036d755c35e8e9c88d58bd45a9e2b (patch) | |
tree | 2ebce022c1c8b286cfb31845f145d8249f7b395e /cli/web_worker.rs | |
parent | 6dd964384509e71598d08ae09c59f5f2c035a135 (diff) |
fix: add io ops to worker to fix fetch (#4054)
Diffstat (limited to 'cli/web_worker.rs')
-rw-r--r-- | cli/web_worker.rs | 4 |
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 { |