Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
clarify documentation
  • Loading branch information
vdeturckheim committed Aug 21, 2020
commit a44f4e49731b58b1cbf2a20c29df113d0d7afe8a
2 changes: 1 addition & 1 deletion doc/api/v8.md
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ will emit a `codeGenerationFromString` event on `process` with the value
of `code`. The call to `eval` or `new Function` will happen after the
event is emitted.

Calls made through the `vm` module will not emit the event.
Calls to the `vm` module such as `vm.runInContext` will not emit the event.

Calling `v8.emitCodeGenFromStringEvent()` when the
`--disallow-code-generation-from-strings` flag is used will be a noop.
Expand Down