Skip to content

Why is a non-current version of jquery.simulate.js being used? #25

@brian-mann

Description

@brian-mann

There is a bug in this method:

https://github.com/j-ulrich/jquery-simulate-ext/blob/master/libs/jquery.simulate.js#L23

.document is not reachable if you have cross-domain iframes in your document. The code should wrap this check in a try/catch in order to ensure .document is accessible.

However, after investigating this issue I was surprised to find that the libs/jquery.simulate.js is not using the current lib from https://github.com/jquery/jquery-simulate.

I noticed in the readme you mentioned that you have fixed several issues in the original library. Are those issues not resolved by using the latest version from the jquery team itself? Do I have to use your altered version, or can I use the latest version from them?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions