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

fix(common): Proxy function toString does not contain Proxy. #2951

Merged
merged 1 commit into from
May 2, 2018

Conversation

johnjbarton
Copy link
Contributor

Recent change (https://www.chromestatus.com/feature/5666372071718912) means Proxied functions
no longer throw TypeError. Change the test to conform to the new reality.

Fixes #2942

Recent change (https://www.chromestatus.com/feature/5666372071718912) means Proxied functions
no longer throw TypeError.  Change the test to conform to the new reality.
@dignifiedquire
Copy link
Member

What about all the old browsers that don't implement this change?

@johnjbarton
Copy link
Contributor Author

Older browsers should work fine, they just won't have fix-up serialization of proxy functions. I think that is a good trade off: rather than complex code for every browser we lose rare corner case support for old browsers.

(This issue now breaks the build since travis is runner chrome 66)

@zzo zzo merged commit a6577d9 into karma-runner:master May 2, 2018
@johnjbarton johnjbarton deleted the fix-2942 branch December 23, 2020 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants