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

worker: implement worker.moveMessagePortToContext() #26497

Closed
wants to merge 3 commits into from

Commits on Mar 15, 2019

  1. src,lib: allow running multiple per-context files

    Create an `lib/internal/per_context/` directory that can
    host multiple files which we execute for each context.
    
    PR-URL: nodejs#26497
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax committed Mar 15, 2019
    Configuration menu
    Copy the full SHA
    92cddba View commit details
    Browse the repository at this point in the history
  2. src,lib: make DOMException available in all Contexts

    This allows using `DOMException` from Node.js code for any
    `vm.Context`.
    
    PR-URL: nodejs#26497
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax committed Mar 15, 2019
    Configuration menu
    Copy the full SHA
    a15fd18 View commit details
    Browse the repository at this point in the history
  3. worker: implement worker.moveMessagePortToContext()

    This enables using `MessagePort`s in different `vm.Context`s,
    aiding with the isolation that the `vm` module seeks to provide.
    
    Refs: ayojs/ayo#111
    
    PR-URL: nodejs#26497
    Reviewed-By: James M Snell <jasnell@gmail.com>
    addaleax committed Mar 15, 2019
    Configuration menu
    Copy the full SHA
    23bf4ce View commit details
    Browse the repository at this point in the history