Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrap the the contentWindow access in a try/catch block when in setTimeout #363

Merged
merged 1 commit into from
Apr 30, 2017

Conversation

manuel-alvarez-alvarez
Copy link

It's necessary to wrap the code that accesses the conentWindow with a try/catch block to silently ignore the errors in Internet Explorer.

Wrapping the setTimeout call is not useful.

@brycekahle
Copy link
Contributor

Of course. Thanks for catching this!

@brycekahle brycekahle merged commit b3ccaaa into sockjs:master Apr 30, 2017
@gaearon
Copy link

gaearon commented May 16, 2017

@brycekahle Would you mind cutting a patch with this fix, or is there more work pending? Cheers!

@brycekahle
Copy link
Contributor

@gaearon I'll try to cut a release this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants