Skip to content

Sandboxing scripts in shared contexts #339

Open
@makspll

Description

@makspll

Currently the shared contexts feature has very limited uses, due to the fact scripts don't actually get sandboxed, meaning every single callback will be overwritten the moment another script using it gets loaded.

One way we can do this is by loading each script into a "sub"-context within the context, and then before handling, loading each sub-context into the global namespace

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions