diff options
author | Bartek Iwańczuk <biwanczuk@gmail.com> | 2022-10-25 22:50:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-25 22:50:55 +0200 |
commit | af62e0833dbb23ac0af674b57e5938be97ad57c8 (patch) | |
tree | 025e5004d4a605f945e74ee456cf615c2d7d7352 /runtime/js/99_main.js | |
parent | 378e6a8c0369f3256cde8a595d3dbdfe4f1dc2f9 (diff) |
Revert "Revert "refactor(ext/net): clean up variadic network ops (#16… (#16422)
…392)" (#16417)"
This reverts commit 8e3f825c921b38141afa7a69a0664881c5c94461.
Diffstat (limited to 'runtime/js/99_main.js')
-rw-r--r-- | runtime/js/99_main.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js index 1ac1153f8..afacd9b34 100644 --- a/runtime/js/99_main.js +++ b/runtime/js/99_main.js @@ -58,6 +58,7 @@ delete Intl.v8BreakIterator; const worker = window.__bootstrap.worker; const internals = window.__bootstrap.internals; const performance = window.__bootstrap.performance; + const net = window.__bootstrap.net; const crypto = window.__bootstrap.crypto; const url = window.__bootstrap.url; const urlPattern = window.__bootstrap.urlPattern; @@ -692,6 +693,8 @@ delete Intl.v8BreakIterator; } performance.setTimeOrigin(DateNow()); + net.setup(runtimeOptions.unstableFlag); + const consoleFromV8 = window.console; const wrapConsole = window.__bootstrap.console.wrapConsole; @@ -789,6 +792,8 @@ delete Intl.v8BreakIterator; } performance.setTimeOrigin(DateNow()); + net.setup(runtimeOptions.unstableFlag); + const consoleFromV8 = window.console; const wrapConsole = window.__bootstrap.console.wrapConsole; |