Right now, we have code in webworker-child.js that explicitly adds a hard-coded list of globals into the child context. When new globals get added with additional node releases, this code breaks (e.g. the new console global is not available).
We should programatically iterate over all globals and copy them.
Right now, we have code in
webworker-child.js
that explicitly adds a hard-coded list of globals into the child context. When new globals get added with additional node releases, this code breaks (e.g. the newconsole
global is not available).We should programatically iterate over all globals and copy them.