-
Notifications
You must be signed in to change notification settings - Fork 967
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
Strict mode violation in Chrome (with fix) #126
Comments
But now, minifying breaks it ... Hm |
|
@asdf072 try the fork project at https://github.com/partykit/partykit/tree/main/packages/partysocket and file an issue there if problem still |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I recently started getting an error in Chrome.
[Exception: TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them at Function.
I tracked it down to the timeout function in the
this.open
method. The function in the setTimeout makes a direct call to websocket.close(). Line #227.Using
func.call()
to help it definethis
seems to have cleared up the error. Can anyone see any unintended issues?The text was updated successfully, but these errors were encountered: