Files
node/doc/api
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-07 22:42:08 +01:00
2018-09-23 15:57:19 -05:00
2018-10-10 23:18:55 +02:00
2018-07-15 23:57:35 +03:00
2018-10-10 23:18:55 +02:00
2018-10-10 14:02:35 -07:00
2018-10-10 23:18:55 +02:00
2018-09-19 21:12:45 +02:00
2018-07-14 22:57:03 +03:00
2018-07-14 22:57:03 +03:00
2018-09-21 14:14:31 -07:00
2018-10-08 20:25:32 -07:00
2018-07-14 22:57:03 +03:00
2018-09-07 16:55:44 -07:00
2018-10-10 23:18:55 +02:00
2018-09-03 17:47:28 +03:00