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

[3.6.0] "TypeError: Invalid calling object" error in IE11 #1358

Closed
le0nik opened this issue Feb 28, 2018 · 7 comments
Closed

[3.6.0] "TypeError: Invalid calling object" error in IE11 #1358

le0nik opened this issue Feb 28, 2018 · 7 comments

Comments

@le0nik
Copy link
Contributor

le0nik commented Feb 28, 2018

This error happens when reactions have { compareStructural: true } option. It started happening in [email protected] and originates on this line:

var className = toString.call(a)

The reason is that toString is called as a global function. IE11 throws TypeError: Invalid calling object when it happens. Object.prototype.toString doesn't result in this error.

@mweststrate
Copy link
Member

mweststrate commented Feb 28, 2018 via email

@le0nik
Copy link
Contributor Author

le0nik commented Feb 28, 2018

Sure, the only thing stopping me is that i'm not quite sure how to test it here and whether it needs to be tested.

@mweststrate
Copy link
Member

mweststrate commented Feb 28, 2018 via email

@le0nik
Copy link
Contributor Author

le0nik commented Feb 28, 2018

Ah, no i meant whether i can(and need to) actually write a test for this case as i don't see saucelabs integration or karma config in the project.

@le0nik
Copy link
Contributor Author

le0nik commented Feb 28, 2018

#1359

@mweststrate
Copy link
Member

mweststrate commented Feb 28, 2018 via email

@mweststrate
Copy link
Member

Released as 3.6.1. Thanks!

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

No branches or pull requests

2 participants