<p><a href="https://github.com/critzo" class="user-mention">@critzo</a> based on a <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=733573#c211">later comment in the same bug</a> you referred to, you may be able to use the newer <a href="https://developer.mozilla.org/en-US/docs/Web/API/TCPSocket">TCPSocket API</a> for this by enabling the dom.mozTCPSocket.enabled pref.  Based on my understanding from reading the discussion in the bug and elsewhere, you might be able to use this new API from a web worker-- I haven't been able to find anything to confirm this one way or another, but if you give it a shot I'd be interested in finding out. I'm not sure exactly which versions of Firefox this would work on, but you could test for the API availability and fall back to the current XPCOM method for older versions.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/opentechinstitute/mlab-browser-ext/issues/22#issuecomment-58841126">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/3074564__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyODc5MTAwMywiZGF0YSI6eyJpZCI6NDQwODA0NTZ9fQ==--b643aaaa4e91c16a40f60c93dcebebbf74b2435e.gif" width="1" /></p>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"View this Issue on GitHub","action":{"@type":"ViewAction","url":"https://github.com/opentechinstitute/mlab-browser-ext/issues/22#issuecomment-58841126","name":"View Issue"}}</script>