Skip to content

Sandboxed preload scripts are run in the document's script environment #767

Open
@jgraham

Description

@jgraham

In https://w3c.github.io/webdriver-bidi/#run-webdriver-bidi-preload-scripts we pass environment settings to evaluate function body, which is wrong in the sandbox case because that environment settings realm is the document's realm, not the sandbox realm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmodule-scriptScript module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions