Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

src: restore context default IsCodeGenerationFromStringsAllowed value #44324

Merged
merged 1 commit into from
Aug 28, 2022

Commits on Aug 24, 2022

  1. src: restore context default IsCodeGenerationFromStringsAllowed value

    Context's default IsCodeGenerationFromStringsAllowed value can be
    changed by v8 flag `--disallow-code-generation-from-strings`. Restore
    the value at runtime when delegating the code generation validation to
    `node::ModifyCodeGenerationFromStrings`.
    
    The context's settings are serialized in the snapshot. Reset the setting
    values to its default values before the serialization so that it can be
    correctly re-initialized after deserialization at runtime.
    legendecas committed Aug 24, 2022
    Configuration menu
    Copy the full SHA
    38b97cc View commit details
    Browse the repository at this point in the history