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

Use a single JSContext per JSRuntime. #2313

Closed
wants to merge 1 commit into from
Closed

Commits on May 4, 2014

  1. Use a single JSContext per JSRuntime.

    The long-term plan for SpiderMonkey is to eliminate JSContexts by merging
    (most of) it into JSRuntime, so to future-proof our code, we should avoid
    creating multiple JSContexts for the same JSRuntime.
    
    However, this implies we'll have to use the same JSContext for objects in
    different compartments, so we need to enter compartments. This is done by
    using the with_compartment function.
    Ms2ger committed May 4, 2014
You can’t perform that action at this time.