Skip to content

Convert WebSocket tests to .any.js format - #10598

Merged
jgraham merged 2 commits into
masterfrom
annevk/websockets-anyjs-2
Apr 24, 2018
Merged

jgraham merged 2 commits into
masterfrom
annevk/websockets-anyjs-2

Conversation

@annevk

@annevk annevk commented Apr 24, 2018 •

Copy link
Copy Markdown
Member

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

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

annevk commented Apr 24, 2018

Copy link
Copy Markdown
Member Author

(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

Ms2ger commented Apr 24, 2018

Copy link
Copy Markdown
Contributor

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

@annevk

annevk commented Apr 24, 2018

Copy link
Copy Markdown
Member Author

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.

@zcorpan zcorpan left a comment

Copy link
Copy Markdown
Member

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

annevk commented Apr 24, 2018

Copy link
Copy Markdown
Member Author

@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