Skip to content

Bug: Cannot set property isTrusted of #<Event> [canary] #1077

@mydea

Description

@mydea

On latest canary, I get the error:

 TypeError: Cannot set property isTrusted of #<Event> which has only a getter
                at Function.assign (<anonymous>)
                at assign (http://localhost:7357/assets/vendor.js:38987:19)
                at buildBasicEvent (http://localhost:7357/assets/test-support.js:4449:27)
                at fireEvent (http://localhost:7357/assets/test-support.js:4429:15)
                at http://localhost:7357/assets/test-support.js:4271:30

When running tests.

I would suspect this is because on latest canary assign from @ember/polyfills just re-exports Object.assign and this implementation somehow breaks here:

I will look into it to see if I can find the issue.

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