Skip to content

Synthetic events proxy doesn't work for normal synthetic events #6187

Closed
@zpao

Description

@zpao

This blames to #5939, cc @kentcdodds

Not sure yet if this is affecting all load events or just ones that are attached directly to nodes (for eg image). But the problem is that when we intercept set operations for SyntheticEvents (but not "subclasses" like SyntheticMouseEvent), we don't have target.constructor @

!target.constructor.Interface.hasOwnProperty(prop) &&

Simplest repro: http://jsfiddle.net/ge8b0np9/ (will still fail w/o the load listener)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions