In order to land the new WebSocket protocol implementation, a lot of tests need to be fixed. However, there are legacy and unclean test codes which should be fixed first, such as:
- Using script-tests
- Not using window.jsTestAsync and finishJSTest()
- Unclean implementation of pywebsocket handler, such as infinite loop after web_socket_do_extra_handshake
I'd like to do this housekeeping before I modify the WebSocket protocol implementation.