diff options
author | Cheng Zhao <zcbenz@gmail.com> | 2022-01-05 14:01:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-05 14:01:49 +0300 |
commit | a706342368ff7c05fc2ae6b55e9eaa47815785dd (patch) | |
tree | 15cddaa27f61e0ca4f9772038fd5447d64f9ebe4 /src/env.h | |
parent | f34c0e0bc00bac9d1f4e375b81b8669ff0b3ce6e (diff) |
src: add kNoBrowserGlobals flag for Environment
PR-URL: https://github.com/nodejs/node/pull/40532
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Diffstat (limited to 'src/env.h')
-rw-r--r-- | src/env.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/env.h b/src/env.h index 5af2eaa6669..92c9d1d1404 100644 --- a/src/env.h +++ b/src/env.h @@ -1212,6 +1212,7 @@ class Environment : public MemoryRetainer { inline bool tracks_unmanaged_fds() const; inline bool hide_console_windows() const; inline bool no_global_search_paths() const; + inline bool no_browser_globals() const; inline uint64_t thread_id() const; inline worker::Worker* worker_context() const; Environment* worker_parent_env() const; |