diff options
author | Bradley Farias <bradley.meck@gmail.com> | 2019-08-02 17:06:34 +0300 |
---|---|---|
committer | Bradley Farias <bradley.meck@gmail.com> | 2019-08-20 17:49:48 +0300 |
commit | 85898e0aca26cee2e68aea9ba384e23cd4457849 (patch) | |
tree | 7746ba86dcce63cbf6f23faa54550f92a1528ca7 /lib/internal/main | |
parent | 9fd9efa49222c65e255085cfaabf4924721c833d (diff) |
bootstrap: run preload prior to frozen-intrinsics
This is used to allow people to run polyfills.
Co-Authored-By: Anna Henningsen <github@addaleax.net>
PR-URL: https://github.com/nodejs/node/pull/28940
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'lib/internal/main')
-rw-r--r-- | lib/internal/main/worker_thread.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/main/worker_thread.js b/lib/internal/main/worker_thread.js index 3a5ac9cca4a..90e84f204b3 100644 --- a/lib/internal/main/worker_thread.js +++ b/lib/internal/main/worker_thread.js @@ -106,10 +106,10 @@ port.on('message', (message) => { require('internal/process/policy').setup(manifestSrc, manifestURL); } initializeDeprecations(); - initializeFrozenIntrinsics(); initializeCJSLoader(); initializeESMLoader(); loadPreloadModules(); + initializeFrozenIntrinsics(); publicWorker.parentPort = publicPort; publicWorker.workerData = workerData; |