Skip to content

All classes are shared between separate jsdom windows #1453

Description

@m4h3

defineProperty on DOM Interfaces seems to survive new page load (via jsdom.jdom()).

Object.defineProperty(HTMLAnchorElement.prototype, "href" , {configurable : false});

After new jsdom.jsdom() this should be true:
Object.getOwnPropertyDescriptor(HTMLAnchorElement.prototype, "href").configurable === true;

maybe/probably related to 1207.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions