Skip to content

TypeError: Cannot read property 'handleEvent' of null #230

@pix666

Description

@pix666

This code:

window.addEventListener("test", null, options);

causes a TypeError:

bliss.shy.js:577 Uncaught TypeError: Cannot read property 'handleEvent' of null
at eval (bliss.shy.js:577)
at eval (bliss.shy.js:11)
at Object.$.Element.<computed> (bliss.shy.js:835)
at Function.$.<computed> [as bind] (bliss.shy.js:857)
at EventTarget.addEventListener (bliss._.js:61)

The above code is commonly used for checking for passive option support.
Link: developer.mozilla.org

Metadata

Metadata

Assignees

No one assigned

    Labels

    buggood first PREasy issues that are good for a first contribution

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions