Skip to content

Not necessary to create a new iframe for each call. #19

@brucejo75

Description

@brucejo75

I have a project that makes many calls (some cases 100's) to vm.runInNewContext.

Each call to vm.runInNewContext incurs the creation and insertion of a new iframe.

This is not necessary, a single iframe can be cached, cleaned up after use and then re-used for subsequent calls to vm.runInNewContext.

I have a pr on the way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions