chore: update to Node.js v12.4.0 (#18924)

* chore: update to node 12.4.0

* chore: fix js2c compilation and usage

* update branch reference

* chore: roll node

* refactor: use the new node::options_parser::Parse method

* fix: make node create our context for us so that everything is initialized correctly

* fix: let node do it's thing to the all contexts

We need to let node know about all the contexts that Chromium creates for the renderer processes so that it does not crash when trying to access primordials.  Similar to node::NewContext but with an existing context

* chore: roll node

* chore: roll node

* chore: roll node

* chore: roll node

* fix: ensure that _noBrowserGlobals is set before the node bootstrapper runs

Co-authored-by: Jeremy Apthorp <jeremya@chromium.org>
This commit is contained in:
Shelley Vohr 2019-07-15 18:58:39 -07:00 committed by Samuel Attard
parent da672a3b5c
commit aa211c6c50
10 changed files with 40 additions and 24 deletions

View file

@ -30,9 +30,9 @@ def main():
js2c = os.path.join(node_path, 'tools', 'js2c.py')
subprocess.check_call(
[sys.executable, js2c, natives] +
[sys.executable, js2c] +
js_source_files +
['-t', TEMPLATE])
['--only-js', '--target', natives])
if __name__ == '__main__':