Files
node/test/parallel
Dara Hayes 8da674df49 vm: pass parsing_context to ScriptCompiler::CompileFunctionInContext
ContextifyContext::CompileFunction in src/node_contextify.cc
was incorrectly passing the context variable to
ScriptCompiler::CompileFunctionInContext

This meant that the parsingContext option in vm.compileFunction
was not being applied properly to the compiled function.

fixes: https://github.com/nodejs/node/issues/23194

doc: clarify parsingContext option for vm.compileScript

test: usage of parsingContext in vm.compileFunction

PR-URL: https://github.com/nodejs/node/pull/23206
Fixes: https://github.com/nodejs/node/issues/23194
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
2018-10-11 08:42:49 +02:00
..
2018-09-27 13:36:23 +02:00
2018-09-27 13:25:18 +02:00
2018-08-27 13:37:20 +02:00
2018-08-09 14:11:24 +02:00
2018-09-23 16:36:24 -07:00
2018-09-11 16:58:16 +08:00
2018-09-11 16:58:16 +08:00
2018-08-27 14:08:43 +02:00
2018-09-27 11:50:14 -04:00