()
| 63 | } |
| 64 | |
| 65 | function prepareWorkerThreadExecution() { |
| 66 | prepareExecution({ |
| 67 | expandArgv1: false, |
| 68 | isMainThread: false, |
| 69 | // Module loader initialization in workers are delayed until the worker thread |
| 70 | // is ready for execution. |
| 71 | initializeModules: false, |
| 72 | shouldSpawnLoaderHookWorker: false, |
| 73 | shouldPreloadModules: false, |
| 74 | }); |
| 75 | } |
| 76 | |
| 77 | function prepareShadowRealmExecution() { |
| 78 | // Patch the process object with legacy properties and normalizations. |
no test coverage detected