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

Convert WebSocket tests to .any.js format #10598

Merged
merged 2 commits into from Apr 24, 2018
Merged

Conversation

annevk
Copy link
Member

@annevk annevk commented Apr 24, 2018

Take 2 (see #5148 for take 1), fixes #2557.

Take 2 (see #5148 for take 1), fixes #2557.
@annevk
Copy link
Member Author

annevk commented Apr 24, 2018

(Rebasing the old PR was too annoying. I omitted the <meta name=variant> test here and also fixed up the Unicode error and the window.WebSocket bits. I think this should be good now.)

@Ms2ger
Copy link
Contributor

Ms2ger commented Apr 24, 2018

Does the unicode string need to be literal unicode, or would \u escapes work?

@annevk
Copy link
Member Author

annevk commented Apr 24, 2018

It's a JavaScript string, so escapes would be equivalent, but if I don't have to touch that line it seems better for the diff and such.

Copy link
Member

@zcorpan zcorpan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optional nice-to-have would be to re-indent the files e.g. using js-beautify

@annevk
Copy link
Member Author

annevk commented Apr 24, 2018

@zcorpan I think that would be better as a follow-up. I suspect if I did that everything would be seen as delete/add rather than a move-with-changes.

@jgraham jgraham merged commit 28b62c1 into master Apr 24, 2018
@annevk annevk deleted the annevk/websockets-anyjs-2 branch April 24, 2018 14:49
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.

Make websocket tests run in workers
5 participants