[Commotion-admin] [mlab-browser-ext] UI freezes for the duration of NDT test (#22)

critzo notifications at github.com
Sun Sep 28 17:28:12 EDT 2014


The NDT test performs an asynchronous callback indicating telling the control protocol that the server is ready to feed the test data back to the client. The NDT test calls for receiving data as fast as possible for 10 seconds. The tight receive loop at line 95 of https://github.com/opentechinstitute/mlab-browser-ext/blob/master/lib/plugins/NDT/S2CTest.js

Because of the restriction on doing XPI from only the main thread, when we are in this tight receive loop, we are blocking the UI. No navigation to other tabs or windows is possible during this time. 

One possible workaround woudl be to use an implementation of WebSockets, based on the implementation in this ticket: https://bugzilla.mozilla.org/show_bug.cgi?id=733573#c33


---
Reply to this email directly or view it on GitHub:
https://github.com/opentechinstitute/mlab-browser-ext/issues/22
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chambana.net/pipermail/commotion-admin/attachments/20140928/31f9a13c/attachment.html>


More information about the Commotion-admin mailing list