The commit messages here are not exactly helpful for the most part because this was a piecemeal, experiment-as-you-go procedure. The basic idea behind these changes, notwithstanding some style changes like consistently using single quotes, is that the core Websocket scripts can be used by other front-end implementations other than fakewww. The principal motivation for doing this is so that the M-Lab website can use the official NDT Websocket code located in the NDT project repository, while still maintaining control over the user interface so that it fits better stylistically, and also so that it can be embedded using HTTPS.
I have compiled this and tested that it works as expected. In essence, there should be no changes at all to how the Websocket test functions or looks when this is running via fakewww.
The commit messages here are not exactly helpful for the most part because this was a piecemeal, experiment-as-you-go procedure. The basic idea behind these changes, notwithstanding some style changes like consistently using single quotes, is that the core Websocket scripts can be used by other front-end implementations other than fakewww. The principal motivation for doing this is so that the M-Lab website can use the official NDT Websocket code located in the NDT project repository, while still maintaining control over the user interface so that it fits better stylistically, and also so that it can be embedded using HTTPS.
I have compiled this and tested that it works as expected. In essence, there should be no changes at all to how the Websocket test functions or looks when this is running via fakewww.