diff options
Diffstat (limited to 'runtime/js/99_main.js')
-rw-r--r-- | runtime/js/99_main.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js index dc6839646..c8fdabc25 100644 --- a/runtime/js/99_main.js +++ b/runtime/js/99_main.js @@ -567,7 +567,7 @@ function bootstrapWorkerRuntime( 10: pid, 11: target, 12: v8Version, - // 13: userAgent, + 13: userAgent, // 14: inspectFlag, 15: enableTestingFeaturesFlag, } = runtimeOptions; @@ -633,6 +633,7 @@ function bootstrapWorkerRuntime( location.setLocationHref(location_); setNumCpus(cpuCount); + setUserAgent(userAgent); setLanguage(locale); globalThis.pollForMessages = pollForMessages; |