User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0
Steps to reproduce:
My addon communicates with a native component and frequently sends messages. The protocol for the messages is Firefox first sends 4 bytes that contain the size of the incoming msg followed by the message itself.
In about two devices so far, Firefox consistently does not send a msg of the size stated in the first 4 bytes. I have a repro available so please let me know what you'd need to investigate.
First four bytes of the msg specify the size to be X but msg is less than X bytes. Because I have a blocking call reading the msg on the native side, several instances of the native will not die waiting for the bytes. Using a non blocking call does not solve the problem either as the bytes never appear.
X bytes should be sent from Firefox. This works for 20+ firefox browsers and 100+ chrome browsers.