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: allow preventing SetPrepareStackTraceCallback #36447

Commits on Dec 8, 2020

  1. src: allow preventing SetPrepareStackTraceCallback

    Node.js sets a stack trace handler specific to the v8::Context
    corresponding to the current Environment. When Electron is running in a
    non-Node.js v8::Context (e.g in the renderer process with contextIsolation enabled),
    there will be no correspondent Environment - we therefore need to prevent this
    handler being set so that Blink falls back to its default handling and
    displays the correct stacktrace.
    codebytere committed Dec 8, 2020
    Copy the full SHA
    09e8561 View commit details
    Browse the repository at this point in the history